As of #920, browser caching is universally disabled. This is bad for scalability and for people coming through bad networks. What we want is something more like this:
cache everything under /static
do not cache anything else
every reference to a cached resource should end with [?|&]last_changed=<epoch_time>
we could write a more sophisticated (and much slower) middleware that parses all of html, css, js, and whatever else i forgot, but...
As of #920, browser caching is universally disabled. This is bad for scalability and for people coming through bad networks. What we want is something more like this:
[?|&]last_changed=<epoch_time>
we could write a more sophisticated (and much slower) middleware that parses all of html, css, js, and whatever else i forgot, but...
lots of packages on hackage:
nothing that does browser cache busting.