summaryrefslogtreecommitdiff
path: root/database/database.mysql
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-11 22:00:04 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-11 22:00:04 +0000
commitb6b24c28e046bbd0bddb9b2b65ca9d4bddff24c8 (patch)
tree8cb31a5aa7568084b9a785f8154f72a2b41fc419 /database/database.mysql
parent56ac29fad891078c20c06e3d5e1f29a045f65e13 (diff)
downloadbrdo-b6b24c28e046bbd0bddb9b2b65ca9d4bddff24c8.tar.gz
brdo-b6b24c28e046bbd0bddb9b2b65ca9d4bddff24c8.tar.bz2
Applied patch by Natrak:
- page_header() now adds Last-Modified and ETag http headers. - When running PHP as an Apache module page_header() will check the HTTP headers for conditional gets, and will only push the content when it fails. (Works for html and xml pages as they are all cached). Note: this is a PHP limitation, so until PHP makes it work for other web servers this won't work for them. - Added created field to cache database to hold the timestamp when the cache was created. - Changed cache_get() to return an object with ->data and ->created. - Update forum and locale modules.
Diffstat (limited to 'database/database.mysql')
-rw-r--r--database/database.mysql1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/database.mysql b/database/database.mysql
index 672edd03b..3aaa2f113 100644
--- a/database/database.mysql
+++ b/database/database.mysql
@@ -105,6 +105,7 @@ CREATE TABLE cache (
cid varchar(255) NOT NULL default '',
data mediumtext,
expire int(11) NOT NULL default '0',
+ created int(11) NOT NULL default '0',
PRIMARY KEY (cid)
) TYPE=MyISAM;