If we want to implement a cache control for a particular file type, using htaccess
we can proceed as follows:
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
But this is a solution for all files of a certain type, in the example above, for JavaScript files.
Question
How to apply cache control to a specific file, for example: script.js
?