• Resolved .

    (@lutjebroeker)


    I setup the plugin on some sites to check it out but google pagespeed likes it pretty good
    But when i check a site i get always https://a-site.com/_2c8d.css (3 seconden)
    when i check @ Google PageSpeed Insights
    is there away to make 3 sec a 1 week or more?

    • This topic was modified 7 years, 4 months ago by .. Reason: Grammar
    • This topic was modified 7 years, 4 months ago by ..
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    If that is for “leverage browser caching”; this is normally handled at a webserver-level, but you can alternatively untick the “static delivery” option in which case your CSS & JS will be served through PHP-code which will add the necessary caching information.

    hope this helps,
    frank

    Thread Starter .

    (@lutjebroeker)

    Thanks
    i have unticked “static delivery”
    Result from > Google > PageSpeed Insights >
    Optimize CSS Delivery of the following:
    https://h…com/…ize_0005b…5ea.php
    https://h…com/…ize_a5d99…96b.php

    VPS
    Directadmin
    Running on php 7.1
    CloudLinux

    I have added these lines to .htaccess
    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 month”
    ExpiresByType image/jpeg “access 1 month”
    ExpiresByType image/gif “access 1 month”
    ExpiresByType image/png “access 1 month”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 1 month”
    </IfModule>
    ## EXPIRES CACHING ##

    But that did not to the trick with leverage brouwser caching.

    I have also played with some php 7.1 settings (ticked/unticked)
    apcu
    opcache
    memcached
    ect.

    But that did not
    Result from > Google > PageSpeed Insights > Leverage browser caching
    https://h…com/…ize_2…28d.css (3 seconden)
    https://h…com/…ize_a…96b.css (3 seconden)
    https://h…com/…mize_3a…57.js (3 seconden)

    I used before “Better WordPress Minify” (probably abbendend) there is the option to manually change the expire time. Maybe that is an idea for this plugin.

    Kind regards Niels

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, comparing

    Optimize CSS Delivery of the following:
    https://h…com/…ize_0005b…5ea.php
    https://h…com/…ize_a5d99…96b.php

    vs

    Leverage browser caching
    https://h…com/…ize_2…28d.css (3 seconden)
    https://h…com/…ize_a…96b.css (3 seconden)
    https://h…com/…mize_3a…57.js (3 seconden)

    seems to indicate that non-static delivery does not have “leverage browser caching”, no?

    “optimize CSS delivery” is an entirely different subject; look at “inline all CSS” (easy) or “inline & defer CSS” (better), cfr. more info in the FAQ.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘3 seconden Google browsercaching’ is closed to new replies.