• Resolved roadlink

    (@roadlink)


    Hello,

    I host a site at kinsta.com. They use Nginx.
    They have added needed code.
    I also use cloudflare for several reasons.

    After add the nginx code, I satrted see the folder in cache folder but no image in there.

    When I check from mobile, I see that original image is served.

    What can I do?

    ? PHP GD library is installed.
    
    ? Image cache directory has been created.
    
    /www/xxxx/public/wp-content/cache/adaptive-images => drwxr-xr-x
    
    ? Installation .htaccess file is setup OK.
    
    /www/xxxx/public/.htaccess => -rw-r--r--
    
    ? Adaptive images settings dump:
    
    array(14) {
      ["resolutions"]=>
      array(3) {
        [0]=>
        int(1024)
        [1]=>
        int(768)
        [2]=>
        int(480)
      }
      ["landscape"]=>
      bool(true)
      ["hidpi"]=>
      bool(true)
      ["cdn-support"]=>
      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(90)
      ["sharpen-images"]=>
      bool(true)
      ["watch-cache"]=>
      bool(true)
      ["browser-cache"]=>
      float(180)
      ["version"]=>
      string(6) "0.6.68"
      ["sanitized"]=>
      bool(true)
      ["wp-content-dir"]=>
      string(38) "/www/xxxx/public/wp-content"
      ["wp-content-url"]=>
      string(35) "https://gp.xxxx.gen.tr/wp-content"
    }
    System information
    
    Web Server	
    nginx/1.19.1
    
    Document Root	
    
    PHP	
    7.4.14
    
    PHP Time Limit	
    300
    
    PHP Memory Limit	
    256M
    
    PHP Post Max Size	
    128M
    
    PHP Upload Max Size	
    128M
    
    PHP Max Input Vars	
    10000
    
    PHP Display Errors	
    No
    
    PHP Error Log	
    MySQL	
    5.5.5-10.3.22-MariaDB-1ubuntu1-log
    
    MySQL Ext/mysqli	
    Yes
    
    MySQL Table Prefix	
    wp_
    
    MySQL DB Charset	
    utf8mb4
    
    WP	
    5.6.1
    
    WP Multisite	
    No
    
    WP Debug Mode	
    No
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter roadlink

    (@roadlink)

    can it be related with lazyload?

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, @roadlink, thank you for your email!

    I am quite sure the issue is not the lazy loading of the images, because the plugin works on the server right at the point where the image requests are handled.

    I think the issue is the combination with Cloudflare. If you are indeed using it, then I am afraid that our plugin cannot work with it. We have tried to explain this a bit in the description of our plugin, but it is a little tricky. CDNs like Cloudflare completely intercept image requests, so our plugin does not get the chance to handle them. Sorry if this is not very clear.

    This is the reason why we have marked CDN support as “experimental” in the plugin settings page. You can enable this setting, but only with CDNs who keep url parameters on image requests. If you can configure Cloudflare to do this then it should work and then you can check it out.

    Let me know if I can help any further.

    Cheers,
    Takis

    Thread Starter roadlink

    (@roadlink)

    Dear Takis,

    Thanks for kind reply.
    Cloudflare is needed to us for many many reasons.
    But also we get warning from google lighthouse tool to use correct size of images.
    I couldn’t find a light slider which use 2 different images in slider (mobile/desktop).

    Anyway, Your plugin has very great base, I hope you can make it better and expand customer base.
    I am OK to pay if you can solve webp and cdn issues.

    thanks.

    Plugin Author Takis Bouyouris

    (@nevma)

    I just wanted to add that Lighthouse cannot detect what our plugin does because it analyzes the code in a generic manner. Our plugin actually serves smaller images on smaller screens, but only when actual smaller screens send requests. A tool like webpagetest.org can detect that.

    But, of course, I understand how Lighthouse and Cloudflare have their importance these days and we are working towards newer versions of the plugin that will accommodate these needs. But we need some time for this still!

    Thanks for the chat and for the offer though, I appreciate it.

    Cheers,
    Takis

    Thread Starter roadlink

    (@roadlink)

    Hi @nevma ,

    We moved to servebolt so no ngix now.
    But still with cloudflare.

    Looking forward for newer versions ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Didn’t work at kinsta’ is closed to new replies.