Comments (1)
@huanglei1991 目前miox的缓存特性是利用浏览器原生DOM缓存,每个页面都是一个独立的new Vue()
页面或者 new React
页面。它的**是基于后端MPA在前端SPA化实现,所以数据分离,也就是页面也是分离的。唯一联系可能就是通过各种数据store实现。至于缓存算法,我们在配置中有一个max: n
属性,是由系统自动控制缓存页面的。比如max:3
,那么前端页面如果到达第4层,第一个页面就会被清除到。您说的想首页一直缓存,这个好像没有实现,根据算法这样的实现不可行,但是实际确实存在这样的需求,这也是我们需要改进的地方。其实miox
还需要改进,之后我会给大家带来一个纯MVC化的基于后端MPA**的LOADER型路由架构,也就是[email protected]
版本,我们在酝酿中。
由于MIox
是从15年开始开发到17年才发布,中间经历了很多次改版,而从17年到18年,业界对路由概念持续变化,所以miox
也得与时俱进。希望您能持续关注我们的动态,让我们给大家提供一套完善的路由哲学理念(包括直接与koa等接入实现接管路由的SSR模式)。
from miox.
Related Issues (5)
- 有计划什么时候推广吗? HOT 1
- OMG... git commit message HOT 1
- mvc HOT 1
- occur error when installing dependencies HOT 2
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 miox.