views:

171

answers:

0

I'm trying to do some simple locally-hosted development using the Ext framework. The site is configured as a virtual directory under IIS 7, so that http://localhost/app points to the index file. The path works fine; the file loads.

Here's my problem: despite the fact that I am not making any changes to the very sizable Ext library javascript files (about 2.4 mb uncompressed), those files are being reloaded every single time I refresh the html file. Even though these files are being served off my local hard drive, each page refresh takes 12 to 13 seconds. This is making testing pretty, um, frustrating.

How can I get unchanged js files to cache? Failing that, why aren't they being loaded more quickly? I'm not downloading them off the internet, I'm moving 2 megs around on my hard drive, which I'm pretty sure should be trivial, time-wise.

Finally, would superuser.com have been a better venue for this question? There's always a certain amount of topical overlap that leaves me second-guessing.

Thanks!