TEXT CACHING
------------ I have a site which really needs this, so I went ahead with it already. This add-on will cache formatted texts in the database and use them for a specified timeperiod. By default it is disabled. Enable it with: $CFG->cachetext = 600; // in seconds
This commit is contained in:
@@ -165,6 +165,13 @@ CREATE TABLE prefix_scale (
|
||||
timemodified integer NOT NULL default '0'
|
||||
);
|
||||
|
||||
CREATE TABLE prefix_text_cache (
|
||||
id SERIAL PRIMARY KEY,
|
||||
md5key varchar(32) NOT NULL default '',
|
||||
formattedtext text,
|
||||
timemodified integer NOT NULL default '0'
|
||||
);
|
||||
|
||||
CREATE TABLE prefix_user (
|
||||
id SERIAL PRIMARY KEY,
|
||||
confirmed integer NOT NULL default '0',
|
||||
|
||||
Reference in New Issue
Block a user