Skip to content

Commit

Permalink
Set an valid value for the surrogate key
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Dec 17, 2013
1 parent a03bac9 commit ba8f5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Server/Controller/Root.pm
Expand Up @@ -63,7 +63,7 @@ sub end : ActionClass('RenderView') {
$c->res->header('Surrogate-Control')
) {
# Make sure fastly doesn't cache anything by accident
$c->res->header('Surrogate-Control' => 0);
$c->res->header('Surrogate-Control' => 'no-store');
}

}
Expand Down

0 comments on commit ba8f5a7

Please sign in to comment.