Re: [Flashcoders] Re: [flexcoders] Re: Caching problem

2008-04-13 Thread Mike Chabot
A note on this that I don't think was mentioned in the other posts is if you have the newer AC_FL_RunContent function in your base HTML, instead of having something like this: main.swf?12345 You will have this (note the lack of any file extension): src,main?12345 So if your goal is to roll out a

[flexcoders] Re: Caching Problem..Changing Browsers Doesn't Help either

2007-10-17 Thread tarun chandra
Thank You Tom, You were right found out that it was not copying the file into the eclipse workspace directory after building. Fixed it by refreshing project before building. I am not using FlexBuilder so where do I need to export the source to in order to have the View Source option on the SWF

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Friday 23 Mar 2007, slangeberg wrote: Hmm, i've had this experience on both Apache IIS. I'm not talking about a server cahce, I believe this is browser related. Upload SWF to server, and do not see change in browser till cache is cleared. No one else experiences this? We don't, no. Maybe

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread slangeberg
You don't experience this with IE? This has followed me no matter where I've worked, what server I'm dealing with! What am I doing wrong here (other than using IE)? -Scott On 26 Mar 2007 01:59:50 -0700, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 23 Mar 2007, slangeberg wrote: Hmm, i've

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, slangeberg wrote: You don't experience this with IE? Nope. AFAIK we've got all the default settings in Apache set. -- Tom Chiverton Helping to challengingly architect low-risk action-items on: http://thefalken.livejournal.com

[flexcoders] Re: Caching problem

2007-03-26 Thread Paul DeCoursey
I used to have this issue, but I found it went away after I reset IE to check every time far a new file. It also made a big difference to make sure that the server was sending the correct caching headers. Check the HEAD on a request to determine if it is sending the correct expires header. I only

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread slangeberg
went away after I reset IE to check every time far a new file Ah yes, that's right. I used to do that, but it doesn't gaurantee that my users have the same settings. Hence, my dilemma! Thanks, -Scott On 26 Mar 2007 07:15:48 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: I used to have

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, Paul DeCoursey wrote: environments should be able to run without problems if there are browsers caching things. *boggle* How would that work ? If a service changes it's interface, how is the old client meant to consume the new format ? -- Tom Chiverton Helping to

[flexcoders] Re: Caching problem

2007-03-26 Thread michael.ritchie
We solved the problem by tacking a random number on the SWF name in the embed page (myswf.swf?38787383), this way the browser thinks the file has changed and it needs to refresh it. In this manner, the SWF will not be sticky. This option is also good for your end users as they may not have IE

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Paul J DeCoursey
Tom Chiverton wrote: On Monday 26 Mar 2007, Paul DeCoursey wrote: environments should be able to run without problems if there are browsers caching things. *boggle* How would that work ? If a service changes it's interface, how is the old client meant to consume the new format ?

Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Tom Chiverton
On Monday 26 Mar 2007, Paul J DeCoursey wrote: Several ways. 1) Fail gracefully Well, yes, I'd expect everyones apps already does. But you don't want all your users kicked out with 'remote server error' - that's no better than the alternative. ... This is not a difficult problem, there are

[flexcoders] Re: Caching problem

2007-03-23 Thread slangeberg
(); url:String = resource + ?d= + date.UTC(); - Original Message - From: slangeberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com; Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 14, 2007 10:52 AM Subject: [Flashcoders] Re: [flexcoders] Re: Caching

Re: [flexcoders] Re: Caching problem

2007-03-23 Thread Tom Chiverton
On Friday 23 Mar 2007, slangeberg wrote: Now, my question is, what do people do to prevent caching of swf files themselves? We use a web server / accelerator that isn't broken :-) Seriously - if you change a file on disk, and your web server serves up the now non-existant file, you have big

Re: [flexcoders] Re: Caching problem

2007-03-23 Thread slangeberg
Hmm, i've had this experience on both Apache IIS. I'm not talking about a server cahce, I believe this is browser related. Upload SWF to server, and do not see change in browser till cache is cleared. No one else experiences this? My current understanding is that since nothing about the page

[flexcoders] Re: Caching problem

2007-03-14 Thread Paul DeCoursey
You need to set the caching headers on the server for the file. --- In flexcoders@yahoogroups.com, Alex [EMAIL PROTECTED] wrote: Hi there! I have an xml file that needs to be loaded eventually using a URLRequest. I'm trying to avoid loading a cached file using these headers:

[flexcoders] Re: Caching problem

2007-03-14 Thread Alex
Wow! O_O' Works flawlessly!! :-D Many thanks for that trick dude! --- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote: With Flash, I've learned to do the lo-tech method of attaching random numbers to the path. Simple, but it's been effective!: url:String = resource +

[flexcoders] Re: Caching problem

2007-03-14 Thread Alex
Very interesting :) I'll remember that in future occasions. --- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote: That'll work with any cache-busting you need to do. I use it in testing, to un-cache the swf file itself, when viewed on server. Ie: send rand var in url and if

Re: [flexcoders] Re: Caching problem

2007-03-14 Thread slangeberg
That'll work with any cache-busting you need to do. I use it in testing, to un-cache the swf file itself, when viewed on server. Ie: send rand var in url and if it's present, pass it in to swf call (swfobject + php, here): var so = new SWFObject( ProductBuilder.swf?rand=?=$rand?,