IE cache issue with Spry data table
If you have drank the Spry Kool-Aid and find that you can't live without it you may have found an issue with Spry.Data.XMLDataSet holding on to its
dataset, when doing a drill down or updating the content frequently for example.
There is a posting on the adobe support section if you want some better details: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid=1345264&highlight_key=y&keyword1=cache
In the forum they say that the problem exists with IE and switching to Firefox will save you. Well I tried everything in this forum but nothing worked. Probably because, aside from drinking the Spry koolaide, I drink the Windows Enterprise Server 2003 Kool-Aid as well. I'll pause while some of you boo and throw tomatoes.
So I'm going to make it simple for all of us who use windows. First I must say, if you can't afford to expire your content immediately after consuming it, you'll need to create another site in ISS which you will run your Spry and then reference that url when executing the app. (Write me if you need help.) Back to the problem; Open IIS and traverse to the Site that uses Spry. Right click and choose properties. Click the HTTP Headers tab. Click the "Enable content expiration" checkbox and then click the "Expire immediately" radio. [See below]

Then restart IIS, ColdFusion and whatever you run. I recommend shutting down and doing a cold bootstrap if possible.
Enjoy your properly running application!



There are no comments for this entry.
[Add Comment]