Still Getting Serve static assets with an efficient cache policy
-
I’m running WP 5.8 on CyberPanel 2.1.1 with the Litespeed Cache plugin 3.6.4 at Digital Ocean.
I have Browser Caching enabled for 31536000 (1 year). No matter what I do, my max-age is still showing 7 days. I checked my
.htaccess
file. There is no rule for 7 days or 604800 seconds. BTW, I only have 1.htaccess
file at the root of the site.I do see a bunch of assets with A31536000 next to them, so I can it’s being applied. I even added this to the very bottom of my
.htaccess
file:<filesMatch ".(css|jpg|jpeg|png|gif|js|ico|webp)$"> Header set Cache-Control max-age=31536000, public </filesMatch>
I obviously purged all cache several times, but the issue persists. I tried different themes too. My DNS is pointed at Digital Ocean; I’m not using Cloudflare to manage DNS either.
Tried the Github master 4.2 version – no difference.
https://cldup.com/yThcwYpppl.png
- The topic ‘Still Getting Serve static assets with an efficient cache policy’ is closed to new replies.