{"id":18363582,"date":"2025-03-16T08:37:22","date_gmt":"2025-03-16T08:37:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-in-cache-directory\/"},"modified":"2025-03-16T08:37:22","modified_gmt":"2025-03-16T08:37:22","slug":"php-in-cache-directory","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-in-cache-directory\/","title":{"rendered":"PHP in cache-directory"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I recently encountered an issue with WP Super Cache where files starting with the prefix <code>view_<\/code> (e.g., <code>view_8d5b777336fce904492f7f18a0ee3f2c.php<\/code>) were being created in the cache directory. These files appeared empty, but I was concerned that they might be used for malicious purposes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After investigating, I deactivated WP Super Cache, and I noticed that the cache directory and the <code>view_...php<\/code> files were deleted, which seemed to have resolved the issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Could someone please confirm if WP Super Cache is indeed responsible for creating these files? And if so, could this behavior pose any security risks? I would appreciate any insights into how these files are being generated and if there&#8217;s a way to prevent them in the future.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance for your help!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Best regards,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rainer<\/p>\n","protected":false},"template":"","class_list":["post-18363582","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18363582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18363582\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18363582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}