[drupal-devel] Drupal cache statistics

Dries Buytaert dries at buytaert.net
Thu Jun 2 07:13:05 UTC 2005

On 01 Jun 2005, at 18:32, Nicholas Ivy wrote:
> 2. Page elements poll the cache for every page request.  When a  
> page is loaded, the page element computes a cache key and checks  
> for cached results.  For example, in nodelist.module I used an md5- 
> checksum of the sql query as a cache key.  If the sql query  
> changes, the cache misses.  In this case, the challenge is to  
> efficiently compute accurate cache keys and handle stale results,  
> but at least we don't have to worry about every event in the system.

Do you suggest we render the page, compute and md5-sum on the  
generated HTML, drop the generated page on the floor, and serve the  
page from the cache?  Or do you suggest computing the md5-sum on  
something else?  I don't understand how that could work ...

Dries Buytaert  ::  http://www.buytaert.net/

More information about the drupal-devel mailing list