Cache external Javascript

  • Thread starter Thread starter christian ternek
  • Start date Start date
C

christian ternek

Hello !

I have the problem that in some cases the external
javascript files are not cached.

I have the website on an internal server.

If I open the site from the ie with the ipaddress(
http://192.168.200.100/zeiterfassung) the javascript-files
will not be cached but if I use the dns name (http://xy/zeiterfassung) the
files are cached.

I have no idea why in the one case it will cached and in the other case not!

Please help!

Thanks
Christian
 
I have no idea why in the one case it will cached and in the other case not!

Take a packet trace and see what the other differences are.
The server may be sending different HTTP header records
in its responses depending on the method of connecting to it.
(E.g. perhaps on method denotes exclusively local connectivity
so caching is assumed unnecessary while the other method
might be available to a VPN user where caching might be desirable.)
 
Back
Top