svsticky/pxl

Set cache-control headers

Closed this issue · 2 comments

duijf commented

Currently, we don't set any Cache-Control headers, so browsers fetch all resources all the time. We should change this to Cache-Control: must-revalidate. That causes Chrome to actually check for expiration with If-Modified-Since and If-None-Match

duijf commented

Firefox also doesn't seem to validate the cache currently

duijf commented

Fixed in 4b6a4c7