Apache Today [Your Apache News Source]
Your Daily Source for Apache News and Information  
Breaking News Preferences Contribute Triggers Link Us Search About
Zend: Keeping your dynamic pages dynamic
(Mar 8th, 18:38:20 )

"As Web pages become more database-driven and dynamic, it is important that Web browsers display the most up-to-date information available from your site. For those who have been in the PHP field for some time, dealing with this issue is nothing new. The problem itself has nothing to do with PHP at all. Rather, it is the client's browser that is the source."

"... In order to ensure that the Web browser will always download new content, rather than simply relying on its cache, the proper HTTP Headers must be sent before any content. These headers -- "Expires", "Last-Modified", "Cache-Control", and "ETag" -- are used to implement a cache negotiation with the browser in such a way that allows the content to be updated if the document has truly been modified. It still allows the use of the cache if it has not (saving on transfer times). We'll look at these header commands and how they work, to guarantee that content that is updated is refreshed as expected."

Complete Story

Related Stories:
DevShed: Using Variable Variables in PHP(Feb 27, 2001)
PHP Builder: Building dynamic WML sites(Feb 23, 2001)
SysAdmin: Getting Your Message Across with Apache(Feb 17, 2001)
Apache Module Registration: Apache DSSI(Feb 15, 2001)
SysAdmin: Safer CGI Scripting(Feb 09, 2001)
Network World: Getting in PHP(Feb 01, 2001)
WebTechniques: A Database-Independent API for PHP(Jan 23, 2001)


Printed from Apache Today (https://apachetoday.com).
https://apachetoday.com/news_story.php3?ltsn=2001-03-08-001-06-PS-CY-PH

About Triggers Newsletters Media Kit Security Triggers Login


internet.com
Privacy Policy
All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux 2.2.12, Apache 1.3.9. and PHP 3.14
© Copyright 2000, internet.com Corp. All Rights Reserved.Legal Notices.