Skip to content

Commit

Permalink
Merge pull request #705 from humanmade/backport-684-to-v11-branch
Browse files Browse the repository at this point in the history
[Backport v11-branch] Update page-caching.md
  • Loading branch information
kovshenin committed Nov 25, 2022
2 parents e048840 + 23ce2ea commit 1dfe953
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/page-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ The CDN cache is the fastest cache, and has typical response times around 20ms.
All pages are cached by default, with the following exclusions:

- All `POST` requests are not cached
- Any requests with cookies matching the patterns `wordpress_*`, `wp-*`, `wp_*`, `comment_*`, `hm_*` and `altis_*` are not cached.
- Any requests with the `Authentication` HTTP header will not be cached.
- Any requests containing cookies with names that match the following patterns are not cached:
- `wordpress_*`
- `wp-*`
- `wp_*`
- `comment_*`
- `hm_*`
- `altis_*`
- Any requests with the `Authorization` HTTP header will not be cached.
- Any response with the `Cache-Control: no-cache` HTTP header will not be cached.
- Any response with no content is not cached.
- Any request to `xmlrpc.php`, `wp-cron.php` or `wp-app.php` are not cached.
Expand Down

0 comments on commit 1dfe953

Please sign in to comment.