Skip to content

Commit

Permalink
Merge pull request #562 from MaRDI4NFDI/anon
Browse files Browse the repository at this point in the history
Speedup for not logged in usesr
  • Loading branch information
physikerwelt authored Sep 14, 2024
2 parents 49ee299 + 1581e3a commit c745fe3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mediawiki/LocalSettings.d/LocalSettings.override.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
// Speed up "On high-traffic wikis, this should be set to false, to avoid the need to check the file modification time, and to avoid the performance impact of unnecessary cache invalidations. " see https://www.mediawiki.org/wiki/Manual:$wgInvalidateCacheOnLocalSettingsChange
$wgInvalidateCacheOnLocalSettingsChange=false;

// speed up speed for anonymous users https://www.mediawiki.org/wiki/Manual:$wgUseFileCache
$wgUseFileCache=true;

# MaRDI profile types items
$wgMathProfileQueries['dataset']='?item wdt:P1460 wd:Q5984635';
$wgMathProfileQIdMap['dataset']='Q5984635';
Expand Down

0 comments on commit c745fe3

Please sign in to comment.