Sign in

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

  • This topic has 2 replies, 3 voices, and was last updated 3 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #3055
    Avatar photoNitaaiKumar

    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.

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

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

    Avatar photoBob

    <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"


    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!

    Avatar photoJOduMonT

    @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.