Home > News content

Tencent open source: VasSonic lightweight high-performance Hybrid framework

via:博客园     time:2017/8/8 16:30:37     readed:808

VasSonic lightweight high-performance Hybrid frameworkdata-ratio=2

VasSonic named Sony animated image sonic boy, is Tencent QQ member VAS team developed a lightweight high-performance Hybrid framework, focusing on the page to enhance the first page loading speed, the perfect support for static straight out of the page and dynamic straight out of the page, Compatible with offline packages and other programs. At present QQ members, QQ shopping, QQ wallet, Penguin gaming business has been in use, the average daily PV in more than 120 million, and this figure is still growing rapidly.

Access to VasSonic after the first opening can be in the initialization of APP when the request window resources in parallel, and have the ability to load side edge rendering. When not open for the first time, APP can quickly load the last time you open the dynamic cache in the local page resources, and then dynamically refresh the page. Tencent mobile QQ through the VasSonic framework makes the first screen time-consuming average less than 1S below.

Official open source address:Https://github.com/Tencent/vassonic

Use before and after contrast (OPPO R9 machine, 3G environment)


Before using Sonic mode


After using Sonic mode

VasSonic function

The VasSonic framework is currently the most comprehensive hybrid framework on the market, perfect for static straight pages and dynamic straight pages. Has the following major features:

  • fast

VasSonic through the middle of the subroutine thread and pull the main page of the main resources and flow blocking the way to support the kernel side of the load side of the rendering, weaken the terminal initialization process time-consuming impact, while the page dynamic cache and incremental updates, Network data transmission depends on the speed to enhance the H5 page loading speed.

  • Provincial traffic

VasSonic supports dynamic caching of page content, through the client and server to comply with certain format specifications, each request only need to return to change the data block data, greatly reducing the response to data transmission.

  • Good user experience

Through pre-push and dynamic cache pages, VasSonic first load the local cache page, users can quickly see the content, even in the absence of network scenarios, still can see the first screen content, so H5 page experience closer to the native.

  • Easy to use

VasSonic framework from the Tencent VAS team more than a year of optimization speed summary, it is a set of solutions that can be quickly in the Android and iOS platform access to use, and background support Node.js and PHP platform a key deployment, without cumbersome configuration process The

Experience the speed of wings, do not forget to Github to VasSonic a star it!

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments