I currently have this in my htaccess:
HTTP headers will show as...
I would like to merge s-maxage and max-age in one line so that it will look like this:
In Apache, the following .htaccess works:
But when used in LiteSpeed Enterprise, the HTTP response headers still shows a separate cache-control in two lines.
Code:
<IfModule mod_headers.c>
Header set Cache-Control 's-maxage=604800'
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html A86400
</IfModule>
Code:
Cache-Control: s-maxage=604800
Cache-Control: max-age=86400
Expires: Wed, 18 Dec 2013 03:51:18 GMT
Code:
Cache-Control: max-age=86400, s-maxage=604800
Code:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html A86400
</IfModule>
<IfModule mod_headers.c>
Header merge Cache-Control 's-maxage=604800'
</IfModule>