Sign in

Leverage Browsing Caching is getting a D(60) rank in PageSpeed Scores

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3055
    NitaaiKumarNitaaiKumar

    Leverage browser caching for the following cacheable resources:

    assets/css/style.css (expiration not specified)
    assets/js/scripts.min.js (expiration not specified)
    assets/svg/svg-map.svg (expiration not specified)
    media/posts/5/responsive/postimage1.jpg (expiration not specified)
    media/posts/5/responsive/postimage2.jpg (expiration not specified)
    media/posts/5/responsive/postimage3.jpg (expiration not specified)
    media/website/authoravatar.jpg (expiration not specified)
    media/website/favicon.png (expiration not specified)

    It shows browser caching is not leveraged due to the expiration date not specified for the above files.

    Also,
    Compressing assets/svg/svg-map.svg could save 4.1KiB (59% reduction).

    All others are more or less 99% or 100%.

    #3056
    BobBob
    Support

    https://gtmetrix.com/leverage-browser-caching.html

    ## EXPIRES HEADER CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType image/svg "access 1 year"
    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 2 days"
    </IfModule>
    ## EXPIRES HEADER CACHING ##

     

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #3132
    JOduMonTJOduMonT

    @NitaaiKumar it will help to know on what and/or where are you hosting your website such as netlify or something else

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.