All Questions
Tagged with mod-headers htaccess
4 questions
3
votes
0
answers
284
views
Automatic display of WebP images instead of JPG images via Htaccess
I use Wordpress, the plugin "EWWW Image Optimizer" creates from JPG images automatically also WebP versions (example: From the image image.jpg is also an image image.jpg.webp created). The ...
2
votes
2
answers
773
views
How ExpiresByType and Header set Cache-Control works together?
I have:
ExpiresActive On
ExpiresByType image/jpg "access 2 years"
And let's say:
<filesMatch ".(jpg|jpeg|png|gif)$">
Header set Cache-Control "max-age=31536000, ...
5
votes
2
answers
2k
views
HSTS implementation in .htaccess when using www subdomain
Been looking at implementing HSTS in to one of our sites, hoping to validate it on the preload list. But I can't get my head around how it works with the www. Subdomain.
Our site forces secure www....
9
votes
2
answers
3k
views
HSTS Preload section on .htaccess
Recently having moved a site to SSL, I looked into enforcing HSTS for eventual preload. The syntax is approved and the Chrome List allows it to be OK. However, not being a coder at all, a slight ...