Skip to content

Commit

Permalink
Merge pull request #833 from humanmade/make-param-override-clearer
Browse files Browse the repository at this point in the history
Make param override clearer
  • Loading branch information
rmccue authored Dec 8, 2023
2 parents e8bb9e8 + 4c11d25 commit 440594c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/page-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ Non-cacheable requests (such as logged-in users) can safely use these headers.

## Customizations

The page cache can be customised via your `composer.json`. The example below shows the default configuration:
The Batcache page cache can be customised via your `composer.json` configuration.

The default configuration is:

```json
{
Expand Down Expand Up @@ -115,6 +117,8 @@ Some query string parameters have no effect on the content or output of the page

The page cache will filter these parameters out when generating the cache key as specified in the [Cache Key Calculation](#cache-key-calculation) section above, and will cause the cache key to be shared across more pages, improving your cache hit rate.

**Note:** Overriding this configuration option will completely replace the configuration, so if you want to retain any of the default parameters, ensure you repeat them in your custom configuration.


### Headers

Expand Down

0 comments on commit 440594c

Please sign in to comment.