https://bugzilla.wikimedia.org/show_bug.cgi?id=20453

           Summary: Cache evaluated invariant parts of messages
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://lists.wikimedia.org/pipermail/wikitech-l/2009-
                    August/044950.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Internationalization
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bugzilla.wikime...@publi.purodha.net
                CC: bugzilla.wikime...@publi.purodha.net


http://lists.wikimedia.org/pipermail/wikitech-l/2009-August/044950.html
and the thread preceeding it, there is a suggestion to cache constant
messages having {{SITENAME}} or other invariant content in a way avoiding
the re-interpretation and reparsing them.
While at first sight one would assume that this is done already, increased
load times mentioned in the first post to the thread,
http://lists.wikimedia.org/pipermail/wikitech-l/2009-August/044921.html 
suggest that it is not so.

See also:
http://www.mediawiki.org/wiki/Project:Support_desk/Archives/Miscellaneous/007#tuning_MediaWiki:Aboutsite

There is another possible advantage of this kind of caching, when messages
are being passed to JavaScripts, they should be taken from the cache, which
means that the JavaScripts do not have to deal with parsing the wikisyntax
of these invariant parts.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to