0 Members and 1 Guest are viewing this topic.



  • *****
  • 971
    • osDate Forum
  • osDate Version: osDateEvo v1.3
Caching in osDate v2
« on: January 20, 2013, 01:15:21 PM »
osDate v2.0 introduces caching mechanism. It is based on two tier mechanism. The index page and profile pages are cached. Profile pages are cached only when profile pop up is enabled in configuration settings. Then it caches all mysql query results.

What is the purpose of this?
This is expected to increase performance and reduce contention in MySQL access.
The expiry time for cache can be set in Configuration settings. Default is 15 minutes.

There is an automatic mechanism to delete all cache files which are older than the expiry time limit.
There is also a cron job process provided for systems where you can add one more process to delete cache files. Cron jobs should be managed and controlled by users of osDate.

All cache files will be written to the folder /cache. This folder should be made Public Writeable. (chmod 777)

You can disable caching mechanism in Admin. Global Settings.
CBG (Garry)
PHP: 5.x and 7.x | MySQL: 10.1.31-MariaDB-cll-lve