Index: trunk/phase3/includes/SpecialRecentchanges.php |
— | — | @@ -18,6 +18,8 @@ |
19 | 19 | $sql = "SELECT MAX(rc_timestamp) AS lastmod FROM recentchanges"; |
20 | 20 | $res = wfQuery( $sql, DB_READ, $fname ); |
21 | 21 | $s = wfFetchObject( $res ); |
| 22 | + # 10 seconds server-side caching max |
| 23 | + $wgOut->setSquidMaxage( 10 ); |
22 | 24 | if( $wgOut->checkLastModified( $s->lastmod ) ){ |
23 | 25 | # Client cache fresh and headers sent, nothing more to do. |
24 | 26 | return; |