Files with .css.php and .js.php extensions not getting cached
-
My client is using the Featured Content Gallery plugin, which uses 2 resource files that are actually generated via php:
wp-content/plugins/featured-content-gallery/scripts/jd.gallery.js.php
wp-content/plugins/featured-content-gallery/css/jd.gallery.css.phpThese files both hook into WordPress and query the database, and happen to be the 2 most often requested pages on the site. For some reason it does not appear as if W3 Total Cache is actually caching them though. I tried adding the file names to the “Cache exception list” section (which by description will “Cache the specified pages / directories even if listed in the “never cache the following pages” field.”) just in case, both by adding just the filename and by adding the path + filename, but no difference. I tarred up the entire cache of the site, downloaded it, and grepped for strings within each file. There were no results for either, so I know for sure that they are not being cached.
Any help on this would be appreciated. Thanks.
- The topic ‘Files with .css.php and .js.php extensions not getting cached’ is closed to new replies.