0

I'd like to add cache and expires headers for all my .js files because I'm not able to do it on my server. I'm using IIS. How might I do this?

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794

2 Answers2

0

Consider using Helicon Ape mod_headers module. But note that it works only for IIS7 and higher.

TonyCool
  • 1,004
  • 1
  • 6
  • 5
0

Are you saying you don't have access to administer the server? If you can access the IIS management console, you can set these headers directly through the UI:

http://www.webpaths.com/archives/software/microsoft/iis/2009/02/05/how-to-add-an-expires-header-in-iis.html

Nathan Anderson
  • 6,768
  • 26
  • 29