-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty cache pages #329
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wordpress site is being used as a news agency with multiple editors working simultaneously online publishing articles.
Recently the server was updated to Nginx -Srcache - Redis. Also there are two plugins: nginx-helper for page caching and Select Redis Object Cache for caching mysql queries.
After the first day of work we noticed that there are empty pages cached. No page code but only Cache stamps (stamped by nginx-helper). Cache was purged and the problem gone.
We have several guesses why it happened:
Nginx-helper can cause problems during massive simultaneous post publishing. It will try to clean all the cached pages related to the post being published and can fail to do it correctly as there are many requests to purge the same page over and over again.
Also there might be nginx config problems. I read that this might be related to the caching key. But our key seems ok:
set $key "nginx-cache:$scheme$request_method$host$request_uri";
If someone have idea how to fix or prevent the mentioned condition from ever occurring please post reply here!
The text was updated successfully, but these errors were encountered: