CyberPanel Community

Como mudar o cabeçalho "cache-control:" para arquivos estáticos?

of
ofm1990 #1

I know that the value is default:

cache-control: public, max-age=604800
for static files, how can we increase this value for all sites?

I find this OLS documentation:
https://openlitespeed.org/kb/how-to-set-up-custom-headers/

I followed it and it took me to CSS and JS 404, I don’t know if it changes anything, but I’m on a WordPress Multisite.

Has anyone had experience with cache-control and cyberpanel?

1 reply
NK
Nitesh Kunnath #2

You can control all cache related settings in wordpress by using litespeed cache plugin for wordpress.

Sign in to reply