At the momentCache-Control headers are controlled via some hardcoded logic plus some default environment variables. It would be better to leave this outside of the deployer and instead check in a file, possibly in stumptown-renderer that defines these things.
For example, we might create a file called headers.txt inside the stumptown-renderer repo and used like this:
At the moment
Cache-Control
headers are controlled via some hardcoded logic plus some default environment variables. It would be better to leave this outside of the deployer and instead check in a file, possibly instumptown-renderer
that defines these things.For example, we might create a file called
headers.txt
inside thestumptown-renderer
repo and used like this:It could look something like this: