Title: PHP files inside cache folder
Last modified: August 10, 2022

---

# PHP files inside cache folder

 *  Resolved [redlik](https://wordpress.org/support/users/redlik/)
 * (@redlik)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-files-inside-cache-folder/)
 * Hello,
    I’ve noticed some php files craeted inside the cache folder, named with
   this pattern: autoptimize_single_xxxx.php What’s the purpose of these files? 
   My cache folder is located inside ‘uploads’ but my security settings disallow
   php execution from ‘uploads’ so these files never get triggered. I haven’t found
   anyting in your docs so any suggestions appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-files-inside-cache-folder/#post-15903822)
 * You more then likely disabled the “serve as static files” option on AO’s main
   settings page, re-enable it, clear your cache and you should not see those PHP-
   files any more 🙂
 * hope this helps,
    frank
 *  Thread Starter [redlik](https://wordpress.org/support/users/redlik/)
 * (@redlik)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-files-inside-cache-folder/#post-15904599)
 * That would be the case, thank you very much for help.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-files-inside-cache-folder/#post-15904647)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP files inside cache folder’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/php-files-inside-cache-folder/#post-15904647)
 * Status: resolved