Wordpress LScache Plugin: Assets Cache
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, In the htaccess is the following: ### marker CACHE RESOURCE start ### RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts) .php - [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker FAVICON start ### RewriteRule favicon .ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### I would like to increase the cache time for css/js to 1 month, and the favicon to 1 year. Is this possible? As i changed these values before but they seem to have reverted back to default. Currently you can not customize the max-age for them. When you save ls setting, it will be reverted as you see. If you do want to change them, after you finish lscache settings, make .htaccess not writable and do the change manually. Thanks Will there be any option to control these setting in a future version? For a new site with little traffic 1hr expiry for css/js is far too low. Good idea about not making htaccess writable though! We will consider it in future version. Thanks.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference