Commit graph

30 commits

Author SHA1 Message Date
Tim Starling
ff375dd5f7 Save the last modified timestamp to the parser cache, to avoid the need for a revision row load on hits. 2006-03-16 02:57:44 +00:00
Lupin
11337038b3 removing unused globals and some whitespace cleaning 2006-03-07 01:10:39 +00:00
Domas Mituzas
8613886134 move hardcoded ParserCache expire time to DefaultSettings.php, 1 day now 2006-01-09 10:45:47 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7 * s~\t+$~~ 2006-01-07 13:31:29 +00:00
Tim Starling
3fc92e0c28 removed $wgParserCache, converted to a singleton 2006-01-05 04:26:52 +00:00
Brion Vibber
148b30c81a * (bug 4385) Separate parser cache entries for non-editing users, so section
edit links don't vanish / appear unwanted on protected pages
2005-12-28 22:28:04 +00:00
River Tarnell
5af5e209b5 key parser cache on ($action==render) 2005-07-03 07:27:43 +00:00
River Tarnell
8ff36ebd62 remove wfdebug in pagehistory
set ETag header on article views
2005-07-01 00:03:31 +00:00
Tim Starling
ad01e39c51 stats changes ported from 1.4 2005-06-19 03:05:51 +00:00
Ævar Arnfjörð Bjarmason
273671cf32 Adding cache related stuff to a new 'Cache' subpackage 2005-04-12 01:29:21 +00:00
Tim Starling
9daededf7f stats merged from REL1_3A 2005-01-04 12:54:07 +00:00
Brion Vibber
e39dd4532c (bug 934) List each category on a page only once.
Dan Keshet's patch (http://bugzilla.wikipedia.org/attachment.cgi?id=134&action=view) plus an added version check on parser cache objects, to automatically discard cached objects using the incompatible older format.
2004-11-25 22:02:30 +00:00
Brion Vibber
c7620a7106 Let the parser cache use the objectcache table if memcached isn't set up,
and enable it by default. This provides significant speedups on medium
to long pages, though for busier sites the garbage collection probably
should be adjusted.
2004-11-22 01:16:44 +00:00
Tim Starling
f2102da371 Debug info 2004-10-23 10:22:38 +00:00
Tim Starling
97dc6c150c correcting for what was probably an odd one-off error 2004-10-23 08:23:13 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Tim Starling
797e29aead bug fix 2004-06-04 12:31:32 +00:00
Tim Starling
e7ac88064a don't load so much stuff on parser cache hit (experimental) 2004-06-04 10:40:44 +00:00
Tim Starling
54bc266fe0 Extra debugging info and a typo fix 2004-05-30 08:18:40 +00:00
Tim Starling
3d1698b760 Fixed $wgCacheEpoch handling 2004-05-30 07:31:26 +00:00
Tim Starling
cdf68120b1 oops 2004-05-29 15:17:46 +00:00
Tim Starling
abce963238 Save a tag into the cached text indicating the key and the timestamp 2004-05-29 12:36:05 +00:00
Tim Starling
384183ba5e Parser cache respects $wgCacheEpoch 2004-05-29 11:39:29 +00:00
Tim Starling
727d419e7e Support for database profiling, profiling bracket in ParserCache.php 2004-05-28 05:45:13 +00:00
Tim Starling
a42101c0a0 Parser cache moved to memcached 2004-05-27 15:24:04 +00:00
Brion Vibber
59c6e92429 Some changes to the link tables. They now all use a key on cur_id for the *_from column instead of strings, and have a unique index to force prevent any duplicate entries. There's not yet a clean step in the update script, so just clear out your links tables (patch-linktables.sql) and rebuild them with refreshLinks.php.
This saves trouble in a number of places where we can now do joins with the link tables to get other info (such as cur_is_redirect!) as well as the name, and fewer bits need to be juggled on page renaming, as outgoing links no longer have to be changed (cur_id remains the same when a page is renamed).

rebuildLinks.inc and some of the tools in the 'maintenance page' still need to be updated to work with the new setup. (Special:Maintenance needs a *lot* of cleanup in general. It's kind of a catch-all of vaguely defined features which suck performance like a hydroelectric dam.)

Also I've slipped in some extra debug code. And, I think 'indexes.sql' is a big waste of time and should all be moved into tables.sql. Building indexes separately doesn't help on InnoDB and won't do anything on MyISAM either if you're just going to replace the table after it's built with an imported one from a dump which creates it with indexes.
2004-03-11 09:06:13 +00:00
Tim Starling
683ba962d1 bug fix 2004-02-28 09:26:16 +00:00
Tim Starling
ee73b49007 Split parser from OutputPage into Parser.php, corrected spelling of "suppress", a few other bits and pieces 2004-02-26 13:37:26 +00:00