Conversion to utf-8

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(invalidating the cache)
(squid invalidation)
Line 6: Line 6:
  
 
To invalidate the client cache, parser cache and anonymous file cache, set $wgCacheEpoch to the current date in /home/wikipedia/common/php-new/InitialiseSettings.php, for the converted wiki only.
 
To invalidate the client cache, parser cache and anonymous file cache, set $wgCacheEpoch to the current date in /home/wikipedia/common/php-new/InitialiseSettings.php, for the converted wiki only.
 +
 +
The squid cache must be marked with the correct expiry time in advance. Something along these lines should work:
 +
 +
<pre>
 +
$dday = strtotime('July 10');
 +
if ( $wgDBname == 'dewiki' && time() < $dday ) {
 +
    $wgSquidMaxage = $dday - time();
 +
}
 +
</pre>

Revision as of 09:41, 15 August 2004

To clear messages cache in memcached :

  • cd /home/wikipedia/common/php-new/maintenance
  • php mcc.php
  • delete eswiki:messages
  • quit

To invalidate the client cache, parser cache and anonymous file cache, set $wgCacheEpoch to the current date in /home/wikipedia/common/php-new/InitialiseSettings.php, for the converted wiki only.

The squid cache must be marked with the correct expiry time in advance. Something along these lines should work:

$dday = strtotime('July 10');
if ( $wgDBname == 'dewiki' && time() < $dday ) {
    $wgSquidMaxage = $dday - time();
}
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox