Cache TTL for static assets




Wordpress LScache Plugin: Cache TTL for static assets

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi there, My images are served with a Cache-TTL of 7d (cache-control: public, max-age=604800). Is there a way to increase this? Or is it possible to set different Cache-TTL for images and for CSS/JS? Kind regards, Nico Hi @nico_martin, If you are using LiteSpeed Enterprise please follow this instruction: https://blog.litespeedtech.com/2017/10/04/wpw-using-browser-cache-in-lscache/ For OpenLiteSpeed please try: https://openlitespeed.org/kb/litespeed-cache-on-openlitespeed-without-plugins/ Thanks, Stanley



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference