I’d like to set the Expires header for js.gz files. I’ve added a .htaccess file to the directory containing these files. This is actually part of a widget I’m developing which I will be deployed across multiple domains, so I don’t want to use any apache modules which might be inaccessible to my clients.
Header set Expires "Tue, 16 Jun 2020 20:00:00 GMT"
not with mod_expires
ExpiresActive On
I want to dynamically set the date to today’s date plus 1 month.
Resolved in comments! Thanks fge