Configuring a Trigger to Clear the Cache of an Asset
This example will configure a Trigger to clear the cache of an asset whenever a change has been made to it.
To configure this Trigger, follow the steps outlined below.
- Create a new Trigger asset.
- Enter a Name and Description for the Trigger, as shown in the figure below.

The Details section of the Trigger - In the Events section, select the Asset Updated Trigger Event.
- In the Conditions section, select the Asset ID Trigger Condition and click Commit. Additional fields will appear in the Conditions section, as shown in the figure below.
In the Asset ID is field, specify the asset ID of the asset to clear the cache of.
The Asset ID Trigger Condition - In the Actions section, select the Clear Matrix Cache Trigger Action and click Commit. Additional fields will appear in the Actions section, as shown in the figure below.
Enable the Include Current Asset field. Select the Ignore Permissions field to allow Squiz Matrix to ignore the access rights of the user/s firing this trigger when performing this Trigger Action.
The Clear Matrix Cache Trigger Action - When you are satisfied with the settings of this Trigger, change its Status to Enabled and click Commit.
Whenever a change is made to the select asset, the cache of the asset will now be cleared.