Title: Browser Cache and non WordPress files
Last modified: August 31, 2016

---

# Browser Cache and non WordPress files

 *  [samfletc](https://wordpress.org/support/users/samfletc/)
 * (@samfletc)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/browser-cache-and-non-wordpress-files/)
 * I’m having an issue where W3 Total Cache is caching (browser cache I would assume)
   a non WordPress subdirectory. Inside that subdirectory I’ve got a file that is
   being ran by Cpanel cron and because of the above issue its not running as expected.
 * As soon as I clear the W3 total cache the script will do what it needs to do 
   but won’t again after the after the first cron.
 * Any suggestions on how to whitelist this file or subdirectory and/or whether 
   it is the browser cache or something else?
 * Thanks
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  [Kimberly](https://wordpress.org/support/users/amiga500/)
 * (@amiga500)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/browser-cache-and-non-wordpress-files/#post-7315978)
 * The file that you are running is it including the “/wp-load.php”?
    I assume it’s
   a php file? Assuming you havent overrided w3tc’s default of not caching query
   requests, have you tried modifying the cron to include a query variable e.g. **“
   myfile.php?t=1”**

Viewing 1 replies (of 1 total)

The topic ‘Browser Cache and non WordPress files’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kimberly](https://wordpress.org/support/users/amiga500/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/browser-cache-and-non-wordpress-files/#post-7315978)
 * Status: not resolved