Add Site Health check for Cache-Control: no-store header#2091
Add Site Health check for Cache-Control: no-store header#2091krishnachandak-2004 wants to merge 1 commit into
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @krishnachandak-2004. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Hummm. We already have a Site Health test for this: #1807 |
Fixes #1695
This PR adds a Site Health test that performs a frontend request and checks the
Cache-Controlheader. If it containsno-store, the test recommends avoiding this setting to improve performance for unauthenticated users.