What routing framework is there at the front end that can be used separately, like vue-router, with caching?

problem description

what lightweight routing framework is available at the front end that can be used separately and cached?
is used like vue-router, but not with vue?

I have written one myself, but I don"t know how to cache between pages when multi-level pages jump, and I don"t know how to judge whether the browser is going back or forward.

what should I do if I want to maintain a browser record by myself?


https://www.cnblogs.com/exhua...


is implemented in native js and open source on github, https://github.com/biaochenxu...
article details: http://biaochenxuying.cn/arti...

Menu