Viewing 6 replies - 1 through 6 (of 6 total)
  • serpentdriver

    (@serpentdriver)

    1.) Increase Browser Cache TTL: 31536000
    2.) If it doesn’t help, come back and get another solution.

    Thread Starter mohsen2

    (@alisorena2)

    thanks @serpentdriver , but it didn’t work for me

    serpentdriver

    (@serpentdriver)

    No problem….

    Add this code to your .htaccess:

    <FilesMatch "\.(jpg|JPG|jpeg|webp|jpe?g|woff|woff2|png|css|js|gif|swf|ico|ttf|eot|ico|js|mp4|webm|svg|json)$">
    Header set Cache-Control "public,max-age=31536000,no-transform"
    Header unset ETag
    </FilesMatch>
    Thread Starter mohsen2

    (@alisorena2)

    thanks @serpentdriver , this not work too

    serpentdriver

    (@serpentdriver)

    You mean nothing has been changed and Pagespeed still complains unsufficient browser cache —-> for all sources <—?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you are using nginx , you need to use nginx way for set expire/cache-control header

    Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem with CSS files cache TTL in PageSpeed insight’ is closed to new replies.