You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
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:
more for compiling purescript dynamically on delivery
almost what we want, but doesn't watch file changes
probably good for inspiration, but doesn't help with cache busting.
only server-side
only server-side
only server-side
nothing that does browser cache busting.
The text was updated successfully, but these errors were encountered: