aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-05-24 14:42:43 +0100
committerMark Longair <mhl@pobox.com>2013-05-24 18:50:58 +0100
commit011e55bd4acf4f3c9de91c5ed4c646e855f19c24 (patch)
treeade82e663b566817644359c82424e4058c2a0ea6 /script/rails-post-deploy
parentf8cc81a7791c6055dc6cf829e25138b7f6261a3e (diff)
Only cache attachments that are returned with a 200 HTTP status code
Otherwise redirects will be cached, and since headers and the status code aren't stored, a non-redirecting redirect page will be returned in the future, but with 200. It's easiest to only cache the 200 responses.
Diffstat (limited to 'script/rails-post-deploy')
0 files changed, 0 insertions, 0 deletions