Well I hope so, I got it from a tutorial. lol

Karl


On Apr 5, 2010, at 5:14 PM, Henrik Andersson wrote:

Karl DeSaulniers wrote:
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


Is that even legal http? clearly "no-cache" contradicts "must- revalidate".
_______________________________________________
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