From e3d62d907b07dbace7404fb378a97e8d38cf1e9e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 11 Apr 2005 19:05:52 +0000 Subject: - Patch #19298 by Jeremy: loose caching! Drupal's existing caching mechanism doesn't perform well on highly dynamic websites in which the cache is flushed frequently. One example is a site that is under attack by a spambot that is posting spam comments every few seconds, causing all cached pages to be flushed every few seconds. Loose caching immediately flushes the cache only for specific users who have modified cached data (whether or not they are logged in), delaying the flushing of data for other users by several minutes. (I rewrote the help text a bit and made minor changes to the code comments.) --- database/database.pgsql | 1 + 1 file changed, 1 insertion(+) (limited to 'database/database.pgsql') diff --git a/database/database.pgsql b/database/database.pgsql index 64a63215d..a911049f0 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -587,6 +587,7 @@ CREATE TABLE sessions ( sid varchar(32) NOT NULL default '', hostname varchar(128) NOT NULL default '', timestamp integer NOT NULL default '0', + cache integer NOT NULL default '0', session text, PRIMARY KEY (sid) ); -- cgit v1.2.3