wiki.techinc.nl/maintenance/archives/patch-parsercache.sql
Mr. E23 16b6b929ca A patch to cache articles after conversion to HTML but before insertion
into a full page. Significant speed improvements on cache hits, especially
on pages with many links.
2004-01-07 02:51:47 +00:00

15 lines
384 B
SQL

--
-- parsercache table, for cacheing complete parsed articles
-- before they are imbedded in the skin.
--
CREATE TABLE parsercache (
pc_pageid INT(11) NOT NULL,
pc_title VARCHAR(255) NOT NULL,
pc_prefhash CHAR(32) NOT NULL,
pc_expire DATETIME NOT NULL,
pc_data MEDIUMBLOB NOT NULL,
PRIMARY KEY (pc_pageid, pc_prefhash),
KEY(pc_title),
KEY(pc_expire)
) TYPE=InnoDB;