nowfound

Life & fun · April 30, 2012

HTML5 Page Cache with pjax + Web Storage + Firebase

I was curious if anyone was using HTML5 features like the appCache or localStorage to create some kind of client side cache of rendered pages of a dynamic website, and then using a technology like Firebase or a WebSockets implementation to... | Ninjas and Robots | Engineer, Designer, Founder | Found

HTML5 Page Cache with pjax + Web Storage + Firebase launched on April 30, 2012 with 23 votes, #73 of 446 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 14 years on.

Visit ninjasandrobots.com ↗Alternativestop 16% of April 2012

In plain words

HTML5 Page Cache with pjax + Web Storage + Firebase is an exploration of client-side caching techniques for dynamic websites. It leverages HTML5 features like localStorage and appCache alongside pjax, Web Storage, and Firebase to cache rendered pages locally while using WebSockets to invalidate outdated content. The project investigates whether client-side caching strategies have been underutilized compared to server-side approaches, offering an alternative to traditional methods like ETags that require server round trips.

written from the facts on this page · September 2026

From the sources

I was curious if anyone was using HTML5 features like the appCache or localStorage to create some kind of client side cache of rendered pages of a dynamic website, and then using a technology like Firebase or a WebSockets implementation to... | Ninjas and Robots | Engineer, Designer, Founder | Founding Engineer at Census (acquired by Fivetran) | Ex-CEO Highrise | Y Combinator Alum | Made Draft

Does a similar job

all alternatives →
  • Fireproof – local-first database with Git-like encrypted sync2024 · fireproof.storage · ▲99

    Hi, HN! As a cofounder of Couchbase, I pioneered mobile sync, and I’ve always wanted to bring the speed and reliability of local-first data to the web, incubating PouchDB among other efforts. I learned the constraints of real world financial applications at McKinsey & Company FinLab, and Merkle integrity research at Protocol Labs taught me smart contract data structures. As part of the JavaScript community (and early hosting provider for NPM) I’ve been waiting, and now with the availability of APIs like Passkeys and Origin Private Filesystem, I’m happy to say the browser is ready to support…

  • FlakeHub Cache: Fast, secure, configurable. A new take on Nix caching2024 · determinate.systems · ▲65

    Fast, secure, configurable. A bold new take on Nix caching.

  • Stash, a graph-based cache for Node.js and Redis2012 · github.com · ▲56

    Last night, while trying to figure out the best way to implement caching in my app, I had an idea for a dirt-simple caching system based on a dependency graph. The premise I started with is that one of the hardest things to manage in a cache is dependencies between entities. In order to cache items effectively, you inevitably have to duplicate "child" data inside of "parent" entries. Then, when a child is changed, you have to invalidate the child and its parents, and its parents' parents, and so on. To try to help this, I hacked together a simple Node.js library called Stash, which models…

  • RemoteStorage – sync localStorage across devices and browsers2024 · github.com · ▲129

    Hey HN! Wanted to share a new library and server I've recently been working on called remoteStorage. When building frontends with Javascript, the native localStorage API is super useful for keeping track of state between sessions in the same browser, but it's not as good a solution when your data needs to be shared across multiple devices or browsers. For instance, let's say you want to show a welcome modal to all new users that sign up for your product. If you use localStorage to track if a user has already seen this modal, your users will end up getting the experience repeatedly every time…

  • IM
    I made yet another UI to browse HN2023 · hn.sayan.page · ▲28

    Primarily built this to learn how NextJS works and also a bit about Tailwind CSS. Also has request caching using the WebCache API + expiration which is quite a hacky implementation. Let me know what you think! Source is at https://github.com/say4n/hn, pull requests welcome!

  • An LLM response cache that's aware of dynamic dataJan 2026 · blog.butter.dev · ▲17

    Raymond here from Butter.dev, an LLM response cache built as a chat-completions proxy. Today we're launching a key feature for the platform: the ability to generalize on dynamic, templated inputs. Caching at the HTTP request level has the obvious problem of generalizability. Nearly no request is identical, due to templated variables (like names) and metadata (like timestamps), so exact-match cache lookups rarely hit. We solve this at Butter by using LLMs to detect dynamic content in requests and derive their inter-relationships, allowing the cache entry to be stored as a template + variables…

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, April 2012

the whole month →