Thread: Cache Control
View Single Post
  #4  
Old 30th December 2010, 17:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by entertheraptor View Post
Just quickly, I assume that this code goes in the <HEAD> section of your php page. Is this correct?
This goes before anything else - there must not be any output (not even the <head> section or the document type definition) before these lines.

Quote:
Originally Posted by entertheraptor View Post
Oh, and where the above code sets the expiration date, can I use -1 rather than a date?
Haven't tried that, but you can simply use the date I posted because it's in the past.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote