Title: Cache stays empty&#8230;
Last modified: August 30, 2016

---

# Cache stays empty…

 *  [Armitxes](https://wordpress.org/support/users/armitxes/)
 * (@armitxes)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cache-stays-empty/)
 * According to the debug info, everything is fine but actually the plugin doesn’t
   seem to do anything. The Cache stays empty. I tried to reupload the images, called
   the site from multiple devices…
 * Does the plugin crawl through subfolders of “wp-content/uploads”? Thought it 
   might need some time to process the images but 1 day later still no change.
 * Any advise?
 *     ```
       ✔ PHP GD library is installed.
       ✔ Image cache directory has been created.
       /srv/www/web/releases/20150917142045/public/wp-content/cache/adaptive-images => drwxr-xr-x
       ✔ Installation .htaccess file is setup OK.
       /srv/www/web/releases/20150917142045/public/.htaccess => -rw-r--r--
       ❖ Adaptive images settings dump:
       array(12) {
         ["resolutions"]=>
         array(4) {
           [0]=>
           int(1024)
           [1]=>
           int(640)
           [2]=>
           int(480)
           [3]=>
           int(320)
         }
         ["landscape"]=>
         bool(true)
         ["cache-directory"]=>
         string(21) "cache/adaptive-images"
         ["watched-directories"]=>
         array(2) {
           [0]=>
           string(18) "wp-content/uploads"
           [1]=>
           string(17) "wp-content/themes"
         }
         ["jpeg-quality"]=>
         int(75)
         ["sharpen-images"]=>
         bool(true)
         ["watch-cache"]=>
         bool(true)
         ["browser-cache"]=>
         float(90)
         ["hidpi"]=>
         bool(false)
         ["cdn-support"]=>
         bool(false)
         ["version"]=>
         string(5) "0.6.3"
         ["sanitized"]=>
         bool(true)
       }
       ```
   
 * [https://wordpress.org/plugins/adaptive-images/](https://wordpress.org/plugins/adaptive-images/)

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/cache-stays-empty/?output_format=md) [1](https://wordpress.org/support/topic/cache-stays-empty/?output_format=md)
2

 *  [SHiRKiT](https://wordpress.org/support/users/shirkit/)
 * (@shirkit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-stays-empty/page/2/#post-6559972)
 * Okay, sorry to hear that. Too bad, another plugin that I’d love to use that has
   issues with NGinx. If only Apache was as good as Nginx IMO I’d certainly use 
   it. I’m having issues with W3-Total-Cache as well. I’ll hop in the other topic
   and try to copy the settings, but I don’t even expect it to work =\
 *  Plugin Author [Takis Bouyouris](https://wordpress.org/support/users/nevma/)
 * (@nevma)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-stays-empty/page/2/#post-6559973)
 * Well, the only issue with this plugin and Nginx is that we need a way to route
   images to the plugin scripts. And in Apache this is easily done with the htaccess
   configuration file which we can update automatically. It is also possible to 
   be done in Nginx as well, but it requires manual configuration.
 * I can forward you another forum thread where this issue has been discussed and
   solved. And by “solved” I mean with a manual configuration in Nginx.
 *  [SHiRKiT](https://wordpress.org/support/users/shirkit/)
 * (@shirkit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-stays-empty/page/2/#post-6559974)
 * Which forum thread? I’d love to see it.
 *  Plugin Author [Takis Bouyouris](https://wordpress.org/support/users/nevma/)
 * (@nevma)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-stays-empty/page/2/#post-6559975)
 * Well, I am sorry I cannot find a proper search function in the forum and dig 
   up that thread, but it goes something like this:
 * >  location / {
   >  rewrite \.(?:jpe?g|gif|png)$ /path/to/adaptive-images-script.
   > php; }
 *  Plugin Author [Takis Bouyouris](https://wordpress.org/support/users/nevma/)
 * (@nevma)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-stays-empty/page/2/#post-6559976)
 * Aaah, found it: [https://wordpress.org/support/topic/rules-for-nginx?replies=15](https://wordpress.org/support/topic/rules-for-nginx?replies=15).
   I would suggest you read it till the end because the first solution was not a
   safe one.
 * Remember, all the fuss is done so that the images will be funnelled to the adaptive
   images script and be served by it! Other than that the PHP code works nicely 
   with Nginx as well as Apache!
 * (I would really like to know how this worked out for you and perhaps have a more
   stable solution for Nginx, too.)
 * Cheers,
    Takis

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/cache-stays-empty/?output_format=md) [1](https://wordpress.org/support/topic/cache-stays-empty/?output_format=md)
2

The topic ‘Cache stays empty…’ is closed to new replies.

 * ![](https://ps.w.org/adaptive-images/assets/icon-256x256.png?rev=1138642)
 * [Adaptive Images for WordPress](https://wordpress.org/plugins/adaptive-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adaptive-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adaptive-images/)
 * [Active Topics](https://wordpress.org/support/plugin/adaptive-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adaptive-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adaptive-images/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 20 replies
 * 4 participants
 * Last reply from: [Takis Bouyouris](https://wordpress.org/support/users/nevma/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/cache-stays-empty/page/2/#post-6559976)
 * Status: not resolved