Jaime E. Villate wrote:
How do you activate Smart caching? and how do you specify the directory where you want the HTML-page cache?
MediaWiki includes a limited to-disk page caching option; only non-logged-in hits are stored, and only for pages that aren't redirects, special pages, etc.
To enable it, add lines like these to LocalSettings.php: $wgUseFileCache = true; $wgFileCacheDirectory = "/some/directory/cache";
The directory must exist and must be writable by the user that PHP runs as (the web server user or sometimes your user account). It should be safe to put it under the image upload directory, or you can put it somewhere else. It doesn't have to be directly accessible via the web, but if it is it doesn't hurt.
For really fancy caching you can use a squid reverse proxy in front of your web server and enable the squid modes, but this is rather trickier and requires additional servers running.
-- brion vibber (brion @ pobox.com)