You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can only exclude items from cache using a custom class, Urls or url regexes.
However these regexes are run on the url with the url parameters stripped.
This means if query params are enabled pages like /search?q=test or /page?nocache will be cached.
This could create a large amount of caches for pages used once.
I propose adding query_params to static_caching.exclude, if the url contains one of these query params. caching will be disabled entirely, just like the urls works.
(as a default we could add live-preview)
The text was updated successfully, but these errors were encountered:
Currently you can only exclude items from cache using a custom class, Urls or url regexes.
However these regexes are run on the url with the url parameters stripped.
This means if query params are enabled pages like
/search?q=test
or/page?nocache
will be cached.This could create a large amount of caches for pages used once.
I propose adding
query_params
tostatic_caching.exclude
, if the url contains one of these query params. caching will be disabled entirely, just like theurls
works.(as a default we could add
live-preview
)The text was updated successfully, but these errors were encountered: