Set Custom Expires by Type on OpenLiteSpeed (OLS)
Introduction On your OpenLiteSpeed servers, there are 2 files that you can use to override expires by type at the server level or on a per-site basis: Server level: /usr/local/lsws/conf/expires-by-type.conf Site level: /var/www/site.url/ols/expires-by-type.conf The server-level file is pre-populated with the defaults. The site-level file doesn’t exist by default. DEFAULT TIME The default time is 1 year (31535990). […]