You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb <se...@gmail.com> on 2017/05/27 11:36:38 UTC
Generic HTTP cache code
There are now two scripts that include local HTTP cache implementations.
The cache code is different as they support different types:
HTML and Last-Modified
JSON and Etag
I'm hoping to merge these at some point.
And maybe allow them to work with non-text data (will probably need to
add a separate index to hold the header data which is currently stored
in the files themselves)
Note: I looked around for an existing local cache, but none seemed
entirely suitable.
Either they were too simplistic, or they required lots of dependencies.
Also the site-scan cache needs to store the URI.