Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

DownstreamCachePurgeLocationPrefix removes cache headers for .pagespeed. resources #652

Closed
oschaaf opened this issue Apr 1, 2014 · 1 comment

Comments

@oschaaf
Copy link
Member

oschaaf commented Apr 1, 2014

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?"

oschaaf added a commit that referenced this issue Apr 1, 2014
- Make kPreserveOnlyCacheControl do what it says on the tin
- Serve pagespeed resources with the response headers computed
  by PSOL regardless of whether downstream caching is configured.

Fixes #652
oschaaf added a commit that referenced this issue Apr 2, 2014
- Make kPreserveOnlyCacheControl do what it says on the tin
- Serve pagespeed resources with the response headers computed
  by PSOL regardless of whether downstream caching is configured.

Fixes #652
oschaaf added a commit that referenced this issue Apr 10, 2014
- Make kPreserveOnlyCacheControl do what it says on the tin
- Serve pagespeed resources with the response headers computed
  by PSOL regardless of whether downstream caching is configured.

Fixes #652
oschaaf added a commit that referenced this issue Apr 10, 2014
- Make kPreserveOnlyCacheControl do what it says on the tin
- Serve pagespeed resources with the response headers computed
  by PSOL regardless of whether downstream caching is configured.

Fixes #652
@oschaaf
Copy link
Member Author

oschaaf commented Apr 10, 2014

Confirmed fixed per email
Merged via #653
Closing

@oschaaf oschaaf closed this as completed Apr 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant