Documentation

Cache commande

Table of Contents 

Presentation

This command is used to clear the data cache.

By default, it operates on the data source named cache in the etc/temma.json file. However, you can specify the name of the data source to be used.

Usage

To clear the contents of the data source named cache:

$ bin/comma Cache clear

The --datasource parameter can be used to specify a different data source. For example, to clear the contents of a data source named redis:

$ bin/comma Cache clear --datasource=redis
Previous: Helpers
Next: User command helper

Table of Contents