with a table that stores up to 1000 rows for each 'expensive' special page. This can be paged through, reducing the annoyingness of 50 result limits on the old system. Rebuilding the cache can be forced by adding "recache=1" URL parameter, but this will need to be refined with some sort of controls to prevent abuse. Added the user realname update to the installer's updater list, also.
9 lines
285 B
SQL
9 lines
285 B
SQL
-- Used for caching expensive grouped queries
|
|
|
|
CREATE TABLE querycache (
|
|
qc_type char(32) NOT NULL,
|
|
qc_value int(5) unsigned NOT NULL default '0',
|
|
qc_namespace tinyint(2) unsigned NOT NULL default '0',
|
|
qc_title char(255) binary NOT NULL default '',
|
|
KEY (qc_type,qc_value)
|
|
);
|