A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Waterfall_Cache has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 47

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 194

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Memcache_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 275

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Filesystem_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 440

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; APC_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 628

Zend: Keeping your dynamic pages dynamic

Zend: Keeping your dynamic pages dynamic

By ServerWatch Staff (Send Email)
Posted Mar 8, 2001


"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." 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.

Page 1 of 1

Thanks for your registration, follow us on our social networks to keep up-to-date