• Resolved reda33

    (@reda33)


    I am running litespeed cache on an apache server, QUIC.cloud CDN is on, redis extension, and under cloudflare. On my home page, there are around 28 items that needs to be cached if the cache setting are turned off but if on, there is still 10 assets that are still not cached.

    it is mainly webp files. It says cache TTL: None

    I checked the htaccess, there is a line for webp files with the correct caching period (1 Year) for example so I just do not understand why those are not cached.

    LTS Report Number TMETJBHC

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try add

    <IfModule mod_headers.c>
     <FilesMatch "\.(jpe?g|png|gif|css|js|webp|woff|woff2|ttf)$">
     Header set Cache-Control "max-age=31536000, public"
     </FilesMatch>
    </IfModule>

    to your .htaccess

    Thread Starter reda33

    (@reda33)

    Hello,

    That did not work, I think I had some others issues, I reinstalled the complete domain and now the error is gone. Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Serve static assets with an efficient cache policy’ is closed to new replies.