Commit Graph
2 Commits
Author SHA1 Message Date
Cătălin MarișandMathias Bynens e20538715d bin: Make httpcompression prevent caching
In some cases, intermediate proxies ignore the `Content-Encoding` header
altogether.

Sending `Cache-Control no-cache` as a request header solves this problem
by forcing validation of the resources in the intermediate proxies,
thereby, ensuring that every request is fetched from the origin server.

Ref. alrra/dotfiles#2. Closes #308.
2013-12-08 14:51:05 +01:00
Cãtãlin MarişandMathias Bynens 485f2cbbfa .functions: Improve httpcompression and move it to its own file
Closes #162.
2013-05-10 09:23:04 +02:00