Skip to content
Marco edited this page May 25, 2014 · 13 revisions

1. Special configs

2. How to speed up your site?

  • choose the right cache method (cf installer)
  • activate cache on the right pages, full cache life time on static pages (ex: page module)
  • set the right environment (production : will deactivate the debug) in var/config/engine.php
  • set right server configs (ex PHP-FPM for shared hosting)
  • deactivate word censoring
  • activate page compression in var/config/config.application.php

3. Cache Management

4. How to close your site

  • in var/config/engine.php

'site_close' => 0 # set to 1 to close access to the site

  • in lib/Pi/Application/Boostrap/Resource/Permission.php

'check_close' => false #deactive the site close for admins, set to 1 for close to all users

Clone this wiki locally