Re: Javascript Caching Question on IIS6

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 17:39:28 GMT

On Thu, 27 Jan 2005 09:36:12 -0000, "Larry Neylon"
<larry@nospam.ntlworld.com> wrote:

>Client side Javascript, i.e. <script language="javascript"
>src="javascript/client.js" type="text/javascript"></script>
>
>If I look in the file system I can see the latest version, but if I go to
>http://server/javascript/client.js I see an old version until I restart the
>server.

Check and see if it's the client caching it. Clear the cache on the
client, then go to the page and see if it's updated.

Jeff

>"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
>news:41ff01c2.1662607272@msnews.microsoft.com...
>> On Wed, 26 Jan 2005 13:21:28 -0000, "Larry Neylon"
>> <larry@nospam.ntlworld.com> wrote:
>>
>>>I am having problems with our IIS6 server serving out of date javascript
>>>files in our ASP scripts.
>>>
>>>It appears to be an intermittent problem, but causes all kinds of
>>>headaches
>>>when working on javascript code.
>>>
>>>Is there any way of setting a Javascript file to always expired ?
>>>
>>>Any ideas of any setting in ASP / IIS to prevent this happening ?
>>
>> Server-side Javascript (Jscritp) or client side scripts?
>>
>> Jeff
>



Relevant Pages

  • Re: Javascript Caching Question on IIS6
    ... >If I look in the file system I can see the latest version, ... Check and see if it's the client caching it. ... Clear the cache on the ... Jeff ...
    (microsoft.public.inetserver.iis)
  • Re: Disk write cache
    ... Jeff> There is a large amount of yammering and speculation in this thread. ... Jeff> Most disks do seem to obey SYNC CACHE / FLUSH CACHE. ... >> on both SCSI and ATA, ALL the file system does not pass the test. ... Jeff> It sounds like your test (or reasoning) is invalid. ...
    (Linux-Kernel)
  • Re: Hijacked - Search Extender, Shopping Wizard, Home Search Assis
    ... but removing completely would require access to the file system, ... not through Windpws Explorer or My Computer then at least through a ... DOS prompt. ... Jeff ...
    (microsoft.public.security)
  • Re: basic find sorting behavior
    ... Jeff wrote: ... The order given by getdents() depends on the file system. ... Michael Tosch @ hp: com ...
    (comp.unix.shell)
  • Re: Replacing files on a IIS Web Server
    ... >I simply try to copy the file on the file system, ... >locked by web users. ... It has a retry you can set if ... Jeff ...
    (microsoft.public.inetserver.misc)

Quantcast