Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
  • Archive
  • Installation Guide
    • Advanced
      • Performance Optimization (2)
        • ManualRecache
        Last edited one week ago
        by Redaktion

        Performance Optimization: ManualRecache of LanguageCache

        • English
        • Deutsch
        (Redirected from Setup:Installation Guide/Advanced/Performance Optimization/ManualRecache)
        Archived! This documentation is obsolete and no longer applies to the current BlueSpice version.


        To prevent Rebuilding LocalizationCache with every page call, apply the following configuration:

        Important!When following these instructions, make sure that the $wgCacheDirectory variable is set in advance. This is already the case in the BlueSpice standard delivery in the file settings.d/005-Directories.php.
        Note:This performance optimization achieves the best performance by enabling and configuring opcache in PHP.

        In the settings.d folder of your codebase, create the file 006-ManualRecache.php with the following contents:

        <?php
        $wgLocalisationCacheConf = [
        'class' => LocalisationCache::class,
        'store' => 'array',
        'storeClass' => false,
        'storeDirectory' => $wgCacheDirectory,
        'manualRecache' => true,
        ];
        

        Then delete all existing files in the cache folder of your codebase. Then manually re-create the LocalizationCache by entering the following on your console:

        php /pfad/zur/installation/maintenance/rebuildLocalisationCache.php --force
        

        Finally, make sure that this is done regularly in the background via cronjob ("Task Scheduler" under Windows). We recommend this twice a day, for example at 6am and 6pm.

        Retrieved from "https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Performance_Optimization_(2)/ManualRecache&oldid=12142"
        Add comment
        No categories assignedEdit
        Page actions and tools navigaiton contains tabs, toolbox and actions
        Actions
        • Refresh
        • Copy URL
        • E-Mail
        • QR code
        Details
        • View history
        • Page information
        • Browse properties
        • ... all actions
        • Privacy policy
        • Terms of service
        • Disclaimer
        • Imprint
        • Accessibility
        • About
        • Analysis service
        • Edit preview settings
        • Powered by MediaWiki
        • Powered by BlueSpice
        • Powered by Semantic MediaWiki
        • Creative Commons License