Coder Social home page Coder Social logo

Comments (1)

cevio avatar cevio commented on May 19, 2024

@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)

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.