Let me know if it works for you.
I would try once with just that php script for the no-cache.
Might do the trick instead of all three that you would have.
Because of the whole pre-processing thing.

GL
Karl


On Apr 5, 2010, at 8:29 PM, Nathan Mynarcik wrote:

The nocache in the SWFObject is so the swf isn't cached.  I also use the
same treatment for the XML that is loaded into the swf. That along with the
META tags that call for no caching and that does the trick.  I guess for
safety purposes, I could add your script as well. Might be overkill, but if
it prevents every browser from caching, so be it.

Nathan Mynarcik
Interactive Web Developer
[email protected]
254.749.2525
www.mynarcik.com

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Karl
DeSaulniers
Sent: Monday, April 05, 2010 8:14 PM
To: Flash Coders List
Subject: Re: [Flashcoders] NoCache XML

Hi Nathan,
Are you adding the no-cache to the html page or to the swfobject that
loads?
I noticed on your site that you have the no-cache in the swfobject.
Maybe if the no-cache was associated with the html file that the
swfobject was embedded/placed in, it would work?
I believe, but no proof atm, that the code I supplied will make sure
nothing in the html will cache. Not the html page nor its contents.
But I can not validate that atm.
JAT

Karl


On Apr 5, 2010, at 6:29 PM, Karl DeSaulniers wrote:

It seems to be working for me, but I do not have an XML being read. I
put it at the very top. Before any HTML and it makes the page reload
every time. I tested with different text on the page every time I
uploaded to the server and it showed. Maybe take the code I supplied
and try it once? Make sure that php code gets read before anything
else on the page.
Hth
Gl

Karl

Sent from losPhone

On Apr 5, 2010, at 5:20 PM, "Nathan Mynarcik" <[email protected]>
wrote:

I know I used the meta tags to control cache and that still didn't
fix.

I'm interested to see if this is any different. Please share your
findings.

Thanks,


Nathan Mynarcik
Interactive Web Developer
[email protected]
254.749.2525
www.mynarcik.com

-----Original Message-----
From: Karl DeSaulniers <[email protected]>
Date: Mon, 5 Apr 2010 17:09:09
To: Flash Coders List<[email protected]>
Subject: Re: [Flashcoders] NoCache XML

Hi there,
Just thought I'd share some code I found.
Seems to be a no-cache method that works.
Nathan, I know you said you figured out your issue,
but for anyone else looking for a no-cache code, here you go.

<?php
Header( "Cache-Control: no-cache");
Header( "Cache-Control: must-revalidate");
?>

I believe if this php is put before the
<!DOCTYPE html PUBLIC...
of your HTML, It will control the headers of the document and will
not let the page cache.
I am going to test myself, but has anyone used something like this?
I want to find a simple solution to this no-cache thing, I am
thinking I have found it.
Please let me know if there is an easier way.
Thanks,

Karl


On Mar 31, 2010, at 7:41 PM, Nathan Mynarcik wrote:

Figured out this issue.  The NoCache method worked fine.  I was
trying to
use the information before it was set in it's variables.

Thanks Steven and others for their replies!

Nathan Mynarcik
Interactive Web Developer
[email protected]
254.749.2525
www.mynarcik.com

-----Original Message-----
From: Steven Sacks [mailto:[email protected]]
Sent: Friday, March 26, 2010 10:45 PM
To: [email protected]
Subject: Re: [Flashcoders] NoCache XML

You should use Firebug in Firefox to see what's going on. That or
Charles.


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to