Enhanced Page cache creates recursive
-
Hello,
We have noticed a strange case where W3 Total Cache creates huge directories with a recursive nature. If they grow too much, they need to be deleted through ftp because they crash the clear cache functionality.
The offending files are under
/wp-content/cache/page_enhanced/domain/search.- The site has no
/search/url. It is a 404. The search functionality is the default, using?s=. But under/search/blait would search forbla. I guess this is default behavior? - Inside the
/search/directory, there are many directories like:
%2525252525252525252525252525257bsearch_term_string%2525252525252525252525252525257d/
%25252525252525252525252525257bsearch_term_string%25252525252525252525252525257d/
%252525252525252525252525257bsearch_term_string%252525252525252525252525257d/
%2525252525252525252525257bsearch_term_string%2525252525252525252525257d/
%25252525252525252525257bsearch_term_string%25252525252525252525257d/
%252525252525252525257bsearch_term_string%252525252525252525257d/
%2525252525252525257bsearch_term_string%2525252525252525257d/
%25252525252525257bsearch_term_string%25252525252525257d/
%252525252525257bsearch_term_string%252525252525257d/
%2525252525257bsearch_term_string%2525252525257d/
%25252525257bsearch_term_string%25252525257d/
%252525257bsearch_term_string%252525257d/
%2525257bsearch_term_string%2525257d/
%25257bsearch_term_string%25257d/
%257bsearch_term_string%257d/
%7bsearch_term_string%7d/
label/--This motive keeps growing. Inside each directory there are more like:
/wp-content/cache/page_enhanced/www.__domain__/search/%7bsearch_term_string%7d/__domain__/__domain__/privacy-policy/__domain__/__domain__/__domain__/__domain__/__domain__/__domain__/privacy-policy/__domain__/privacy-policy/__domain__/privacy-policyin some of those (even the ones in the middle) there are 2 folder inside, 1 with the domain name/site and 1 privacy-policy. After randomly “walking” through these, at some point there are the .html and .html_gzip files. That is a page with the test results as if the search query was:
{search_term_string}/__domain__/__domain__/privacy-policy/__domain__/__domain__/__domain__/__domain__/__domain__/__domain__/privacy-policy/__domain__/privacy-policy/__domain__/privacy-policy/__domain__/privacy-policy/__domain__/__domain__/__domain__/privacy-policyI removed the domain but the
{search_term_string}is literally like that. It is as if there are many searched underhttps://__domain__/search/{search_term_string}/__domain__/__domain__/privacy-policy/....Any clues what is happening? Why are all these cached?
I guess I could disable page cache for anything under
/search/but this does not really explain what is happening. I could also disable WordPress search since it is not needed for that site, but I would prefer not to.Thank you!
PS: the option Cache URIs with query string variables is unchecked (and cannot actually be enabled)
- The site has no
The topic ‘Enhanced Page cache creates recursive’ is closed to new replies.