Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Caching HEAD Requests - Blank Page #564

Open
clarter opened this issue Mar 5, 2018 · 0 comments
Open

Caching HEAD Requests - Blank Page #564

clarter opened this issue Mar 5, 2018 · 0 comments

Comments

@clarter
Copy link

clarter commented Mar 5, 2018

We've been chasing a problem on our sites for a few weeks now and we finally pinned it down to a HEAD requests being the first request made after a cache purge. In Redis this creates a key for the page and stores HTML content of two spaces. All subsequent requests to that page will result in a blank page until the cache is purged for that page.

I've noticed on a number of pages describing ideal setups for Total Cache that rejecting HEAD requests is an option, but I don't see it in my install. Has this been removed and does anyone know why? It is still an option to set in the backend, so I set "pgcache.reject.request_head": true, and now our random blank page problem has gone away.

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