Skip to content

Commit

Permalink
Update config.php
Browse files Browse the repository at this point in the history
Use constants in example config.php
  • Loading branch information
leevigraham authored Aug 26, 2024
1 parent 98f31db commit d8972e4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,11 @@
//'esiEnabled' => false,

// Whether URLs with query strings should be cached and how.
// - `0`: Do not cache URLs with query strings
// - `1`: Cache URLs with query strings as unique pages
// - `2`: Cache URLs with query strings as the same page
//'queryStringCaching' => 0,
// `\putyourlightson\blitz\models\SettingsModel::QUERY_STRINGS_DO_NOT_CACHE_URLS`: Do not cache URLs with query strings
// `\putyourlightson\blitz\models\SettingsModel::QUERY_STRINGS_CACHE_URLS_AS_UNIQUE_PAGES`: Cache URLs with query strings as unique pages
// `\putyourlightson\blitz\models\SettingsModel::QUERY_STRINGS_CACHE_URLS_AS_SAME_PAGE`: Cache URLs with query strings as the same page
//'queryStringCaching' => \putyourlightson\blitz\models\SettingsModel::QUERY_STRINGS_DO_NOT_CACHE_URLS,


// The query string parameters to include (retain) when caching a URL (regular expressions may be used).
//'includedQueryStringParams' => [
Expand Down

0 comments on commit d8972e4

Please sign in to comment.