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

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?

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

1 Like