Working with Data Cache

The Data Cache API is used the same way as any other API: By inserting the API functions into your PHP code. The Data Cache component uses an API to cache partial PHP outputs using memory or disk.

You can further enhance the performance of your application by caching Web pages that don’t require frequent change.

The Data Cache API includes the following functionality:

  • Storing variables to the Cache
  • Fetching variables from the Cache
  • Deleting variables from the Cache
  • Clearing the Cache
  • Disk/memory (SHM) storage
  • Caching using namespaces
  • Cache folder depth configuration