Giter Site home page Giter Site logo

Comments (7)

vasdeveloper avatar vasdeveloper commented on May 2, 2024

1.如果要使用到最佳效果,需要三端进行配合,因为动态缓存和增量更新依赖于前后台配合实现;

2.如果仅是希望客户端优化,只能享受到并行请求和流式加载的好处,这个受益与App的终端初始化耗时正相关。另外可以考虑提前预加载或者结合离线包方式预推,在用户打开页面之前把内容加载进来,那么也能实现页面秒开。

from vassonic.

WJLollipop avatar WJLollipop commented on May 2, 2024

3Q,决定采取模版引擎方式了

from vassonic.

vasdeveloper avatar vasdeveloper commented on May 2, 2024

谢谢关注,多多交流~

from vassonic.

xudjx avatar xudjx commented on May 2, 2024

@vasdeveloper 继续这个问题,发现在不使用预加载和离线包预推时,首次打开页面偏慢,再次打开很快,杀掉App,再次打开同样的页面还是很慢,这个时候缓存策略sonic的缓存策略是啥?补充一下,我的页面就是普通的web页,没有VasSonic规范

from vassonic.

vasdeveloper avatar vasdeveloper commented on May 2, 2024

@xudjx 没有遵守VasSonic规范,那么不会进行缓存。首次打开慢,跟webview内核初始化有关系。

from vassonic.

xudjx avatar xudjx commented on May 2, 2024

@vasdeveloper 了解 多谢

from vassonic.

whytry-GAR avatar whytry-GAR commented on May 2, 2024

@vasdeveloper 继续这个问题,Vassnoic在2.0中添加了local server模式,是代表动态缓存和增量更新依赖于可以不依赖后台,而是客户端和web前端配合实现对吗?

为什么这边参照设置了local server模式,在加载非demo中的网页,速度上仍然没有显著提升呢?

Vassnoic加载android demo中的url和普通加载速度上有很大区别。但自己的项目中url则表现与普通加载速度一般

另外这边参照demo修改了部分图片和文字的代码(加载js资源和方法部分不改),二次加载时snoic和普通加载速度也没有明显区别。但demo中url即便是二次加载,速度区别也很大,请问为什么呢?

期待您的回答,谢谢

from vassonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.