News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Tillate Blog:
Clientside Cache Control
November 14, 2008 @ 13:00:14

On the Tillate Blog today there's a new post from Leo looking at how you can give clients back the control on when your cache refreshes.

We worked hard on the right caching strategy over months now. But there are still caches that do not get invalidated right or are cached too long and we still get complaints from our users. So we decided to integrate a feature that allows certain users to invalidate the cache on the server side. The first idea was to add a link to every page that will append a GET-parameter to the site and then avoid the cache.

He used the apache_request_header function to get the current request's headers and noticed that they included a cache-control header. By changing up this on the client-side, it allows the site visitor to "force" an update to the information if your application pays attention to it.

0 comments voice your opinion now!
clientside control cache request header cachecontrol


blog comments powered by Disqus

Similar Posts

Don Raman's Blog: Call for testing a critical fix in WINCACHE RTW 1.0

Mike Wallner's Blog: Dropping server load with HTTP caching

Nick Halstead's Blog: Making a TAG Cloud out of Zend_Cache

Chris Hartjes' Blog: Tutorial: How to create a thread in vBulletin with a script

SitePoint PHP Blog: It's official: Javascript sucks harder than PHP


Community Events

Don't see your event here?
Let us know!


release voicesoftheelephpant extension laravel5 video api library series opinion introduction unittest laravel interview php7 security framework community language podcast version

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework