Comments (7)
1.如果要使用到最佳效果,需要三端进行配合,因为动态缓存和增量更新依赖于前后台配合实现;
2.如果仅是希望客户端优化,只能享受到并行请求和流式加载的好处,这个受益与App的终端初始化耗时正相关。另外可以考虑提前预加载或者结合离线包方式预推,在用户打开页面之前把内容加载进来,那么也能实现页面秒开。
from vassonic.
3Q,决定采取模版引擎方式了
from vassonic.
谢谢关注,多多交流~
from vassonic.
@vasdeveloper 继续这个问题,发现在不使用预加载和离线包预推时,首次打开页面偏慢,再次打开很快,杀掉App,再次打开同样的页面还是很慢,这个时候缓存策略sonic的缓存策略是啥?补充一下,我的页面就是普通的web页,没有VasSonic规范
from vassonic.
@xudjx 没有遵守VasSonic规范,那么不会进行缓存。首次打开慢,跟webview内核初始化有关系。
from vassonic.
@vasdeveloper 了解 多谢
from vassonic.
@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)
- 360手机出现setResult: notify fail as webCallback is not set, please wait!
- iOS 使用cocoapod 添加不上库 现在框架还继续更新吗?
- Android Demo的请求responsecode是301 HOT 1
- 打开页面时,需要 back 多次,才能退出 WebView,中间会展示之前访问过的当前链接的页面内容
- WKWebView
- Weak Cryptographic Hash
- Cross-Site Scripting: Inter-Component Communication
- 有关UserAgent后面的Sonic/2.0.0的问题
- WKWebView HOT 3
- 页面乱码
- SDK能否添加oom捕获?
- 每次都加载 about:blank HOT 1
- 支持Google play应用市场吗? HOT 2
- 代码不维护更新了吗 HOT 1
- create sonic session fail! HOT 1
- KPI项目?不维护?
- Android 放一会再进去或者退出应用重进,又需要重新加载js等资源
- 该项目不维护了吗?是否还可以用 HOT 2
- JCenter service is shutting down
- VA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vassonic.