I've got some code somewhere which does this already. I'll dig it out
and see if I can get it going.
Ian
Also, doesn't MW support other caching schemes besides memcache?
There must be some generic interface to the caching from within MW.
(I hope.)
-Bo
Yes -- there's a generic cache interface, inlucdes/HTMLFileCache.php.
The global wgOut also manages the client cache headers. I think its a
matter of using wgOut to update the last modified headers correctly,
and also making sure we play nicely with the FileCache object.
-Bo
On Tue, Aug 4, 2009 at 11:05 AM, Ian Pye<ian...@gmail.com> wrote:
>
1) Making sure that our code is not incorrectly cached by some other part of MW
2) Making rendered colored pages load faster by explicitly caching
them ourselves.
#2 is what the code in the remote branch does. #1 is the bug we need
to fix right now for local.
I
-Bo
I suspect that previously we had the issue because it was going
through the AJAX interface -- which I guess MW doesn't cache? That
would explain why we needed it before.
-Bo
Exactly. I think #2 is really needed for when/if we run the remote
mode, so that our servers can handle the load via AJAX.
Luca -- I agree #1 is something we need to solve so that our extension
plays nicely with MW.