-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add alert if site has a low cache hit ratio #22
base: main
Are you sure you want to change the base?
Conversation
Insecure Processing of Data (1)
More info on how to fix Insecure Processing of Data in PHP. Hard-Coded Secrets (1)
More info on how to fix Hard-Coded Secrets in PHP. 👉 Go to the dashboard for detailed results. 📥 Happy? Share your feedback with us. |
Love the potential here. Would love for the notice to explain why someone would want a higher GCDN cache hit ratio and a direct link to docs for troubleshooting this. Also curious if we could create a tool in the future that troubleshoots on behalf of the customer and makes recommendations. "You have a session cookie loading on every page..." |
@scottbuscemi I was thinking to keep this simple and provide a link to more information as well as the graph of historical performance. The notice links to the Metrics tab, which in turn links to our public documentation on cache hit ratio. I agree future work to provide recommendations would be great, perhaps by extending WordPress' site health page.
The more helpful but more difficult to attain piece of data would be what the top miss pages are, often that can lead to finding a specific issue. |
Makes sense.
|
Now that we have a space for site health checks, it might be worth coming back to this and surfacing this in Site Health rather than with an admin notice. |
Checks the Pantheon API for the last day's traffic on the Live environment.
If the Cache Hit Ratio is below 50% an alert will be shown on the WordPress dashboard and site health screens.
Results are cached for one day. If there is a curl failure it will be retried after two minutes.