vanilla js · zero dependencies · MIT licensed
No build step, no runtime, no bundler config. Drop a script tag on any page and get exactly the behavior on the tin — nothing else comes along for the ride.
<!-- pick what you need, that's it --> <script src="https://cdn.jsdelivr.net/gh/AetherCodez/SPA.js/spa.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/AetherCodez/CacheBuster.js/cachebuster.min.js"></script>
Two libraries, two narrow jobs. Read the source, star the ones you use, skip the rest.
Wraps any static site in a persistent, same-origin frame and keeps the title, favicon, and URL bar in sync — so multi-page sites get SPA-style continuity without a router or a framework.
View interactive demoA one-function utility for forcing a hard reload past aggressive browser or CDN caches — useful when you've just shipped a fix and can't wait for a cache to expire.
View interactive demophilosophy
Most sites don't need one. If a page needs URL continuity, or a way to bust a stale cache, that's the whole requirement — it doesn't need a router, a build pipeline, or a package-lock file to get it. These libraries do the one thing and stay out of the way.