This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
DownstreamCachePurgeLocationPrefix removes cache headers for .pagespeed. resources #652
Closed
Description
As reported at ngx-pagespeed-discuss:
Adding this line to nginx.conf makes the cache headers disappear for .pagespeed. resources:
pagespeed DownstreamCachePurgeLocationPrefix http://localhost:80/;
According to @anupamadutta:
"Regarding Expires header, I am wondering if https://github.com/pagespeed/ngx_pagespeed/pull/555/files could have anything to do with this. This was intended to be applied for HTML only, but I don't know if it happened to somehow get rid of Expires (and other headers) for other resources as well. Could you take a look?"
Metadata
Metadata
Assignees
Labels
No labels