Accueil Features Demos Download Installation User Manual Developer Manual Relation function Credits

blabla

inc/parsers/cache.php

If the first line for a page starts with #CACHE, the rest of the line is used to define the seconds a rendered page should stay in cache. Use this to optimize often used pages that have complicated database calls.

Cache is not used when

  • the action was not view
  • there has been an error or overtime on page load

The cache directive cannot be used together with the displayname directive.

Do not use cache for pages with side effects (like css functions) or pages that use additional request parameters because they are ignored when the cached version is used.

Cached files are stored in /site/cache with an md5 on name and lang as filename, the expiration is calculated on the modification time of the file.

File structure inc folder inc-parsers folder