Static Pages Cache Log? #11434
stephenmeehanuk
started this conversation in
General
Replies: 2 comments 1 reply
-
It's because the cache has all the urls w/ query parameters in it |
Beta Was this translation helpful? Give feedback.
1 reply
-
that's not a query string though, that's a URL, you need to put the query params you want to allow |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible for Statamic to create a log of all the URLs in Static Pages Cache?
I'm having issues with the number of pages (in the cache) vastly exceeding the actual number of pages the site has.
I've made some changes to static_caching.php
I've also made some edits to NGINX to block traffic from an IP range that was requesting lots of page urls that didn't even exist. I assume these where being added to the page cache, at one point there was over 35000 pages in the cache. The site only has about 160 pages.
The changes I made seemed like it fixed the issue, however I've just logged back in and the cache is already back up to 480 odd pages.
Being able to see a list of page URLs in the cache would help with setting up rules.
Any chance this could be added as an optional setting?
Beta Was this translation helpful? Give feedback.
All reactions