Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2505,10 +2505,12 @@ |
2506 | 2506 | } |
2507 | 2507 | continue; |
2508 | 2508 | } |
2509 | | - // Special handling for user and site groups; because users might change their stuff |
2510 | | - // on-wiki like site or user pages, or user preferences; we need to find the highest |
| 2509 | + // Special handling for the user group; because users might change their stuff |
| 2510 | + // on-wiki like user pages, or user preferences; we need to find the highest |
2511 | 2511 | // timestamp of these user-changable modules so we can ensure cache misses on change |
2512 | | - if ( $group === 'user' || $group === 'site' ) { |
| 2512 | + // This should NOT be done for the site group (bug 27564) because anons get that too |
| 2513 | + // and we shouldn't be putting timestamps in Squid-cached HTML |
| 2514 | + if ( $group === 'user' ) { |
2513 | 2515 | // Get the maximum timestamp |
2514 | 2516 | $timestamp = 1; |
2515 | 2517 | foreach ( $modules as $module ) { |