Hi

I have added the following code into my .htaccess but now when I make changes in my admin area they get saved but they dont refresh on the page unless you manually refresh.

I think the issue has to be with the javascript.

Is it possible to include only certain javascripts or exclude them.

Lets say I have a file located here <script type="text/javascript" src="resources/jserver.js"></script> and this one I want to exclude from both.

How can I change the 2 below to reflect this.


First Change to .htaccess

Code:
Code:
#Speed up website using Vary: Accept-Encoding
<IfModule mod_headers.c>
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>
Second Change to .htaccess

Code:
Code:
#Speed up Website using Expirey Headers
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On 
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
Thanks
Roy