19 Apr, 2014

verysimplecaching

verysimplecaching is a yet not-very-friendly standalone php one-file caching system. This file was created for usage with WordPress, in order to bypass the heavy MySQL queries on rather “static” websites. It is intended to be used together with WordPress Total Cache. Summarizing the activity of verysimplecaching, it works in the following way:

  • first it checks if the request method is ‘get’;
  • yes: this means that if a cache file exists for the active url, it will be returned. If it does not, then verysimplecaching will create it after the page is generated;
  • no: if a cache file exists for the active url, then it will be deleted.

The sources can be found here:

https://github.com/cristidraghici/verysimplecaching