Index: trunk/phase3/includes/cache/FileCacheBase.php |
— | — | @@ -169,7 +169,10 @@ |
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |
173 | | - * Get the cache type subdirectory (with trailing slash) or the empty string |
| 173 | + * Get the cache type subdirectory (with trailing slash) |
| 174 | + * An extending class could use that method to alter the type -> directory |
| 175 | + * mapping. @see HTMLFileCache::typeSubdirectory() for an example. |
| 176 | + * |
174 | 177 | * @return string |
175 | 178 | */ |
176 | 179 | protected function typeSubdirectory() { |
Index: trunk/phase3/includes/cache/HTMLFileCache.php |
— | — | @@ -45,6 +45,8 @@ |
46 | 46 | |
47 | 47 | /** |
48 | 48 | * Get the cache type subdirectory (with the trailing slash) or the empty string |
| 49 | + * Alter the type -> directory mapping to put action=view cache at the root. |
| 50 | + * |
49 | 51 | * @return string |
50 | 52 | */ |
51 | 53 | protected function typeSubdirectory() { |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1697,6 +1697,8 @@ |
1698 | 1698 | * This will cache static pages for non-logged-in users to reduce |
1699 | 1699 | * database traffic on public sites. |
1700 | 1700 | * Must set $wgShowIPinHeader = false |
| 1701 | + * ResourceLoader requests to default language and skins are cached |
| 1702 | + * as well as single module requests. |
1701 | 1703 | */ |
1702 | 1704 | $wgUseFileCache = false; |
1703 | 1705 | |