Telegraph
Telegraph copied to clipboard
Add caching for served directories
https://github.com/Building42/Telegraph/issues/118
I'm not sure if this wants to be an option or enabled by default? But it seems like a useful thing to have so we're not constantly delivering files that aren't modified.
Hi, this looks good 👍 , thanks!
I think we can support the If-Modified-Since header, but we probably don't want to enable the "public, max-age=0" cache header by default.
I'll merge it in and do a couple of tweaks after that.
Come to think of it, this header should probably also support HEAD requests