views:

122

answers:

2

I am using Visual Studio 2008 ASP.NET Development Server and EPiServer CMS, FF3 and IE7

Edited Question - Removed irelevant distractions as I now realise it has nothing to do with dynamic content.

Every so often javascript files I am working on are not getting fully downloaded. The file I am currently having a problem with is only 49 lines long and is getting cut off with only 30 or characters to go.

Anyone else seen this?

TIA

Pat

A: 

Seems to be a caching bug with StaticFileHandler. Check out this blog post and this thread on Episerver World.

Haven't tried it fully yet, but they say setting cacheControl="private" on staticFile should solve the problem "sort of".

<staticFile  expirationTime="1.0:0:0" cacheControl="private" />
Effata
This solution seems to solve the problem for me, at least for the time being.
Effata
A: 

This is a longshot, but try switching to the ASP.NET StaticFileHandler in web.config.

Ted Nyberg