Clear Squid cache tool
Squid is a caching proxy for the web that improves response times by caching and reusing frequently-requested web pages.
The clear Squid cache tool allows users to clear or repopulate the Matrix Squid cache for an asset. A one-off or repeating scheduled job can also be created and scheduled using this tool.
|This tool will clear the Squid cache on the Matrix system, as specified in the Squid cache preferences on the External tools configuration screen. Please note that these settings must be configured before using this tool. For more information, refer to the External tools configuration chapter in the system configuration manual.|
This section allows you to clear the Squid cache for a particular asset and its children. The Clear Squid cache section of the Clear Squid cache screen is shown in the figure:
The fields that are available on this screen are as follows:
Select which asset’s cache to clear. Squid cache will be cleared for all URLs applied to the specified asset.
- Clear now
Select this field and click the Save button to clear the asset’s cache specified in the asset field.
Select this field to re-cache the asset once its cache has been cleared.
Select whether also to clear the cache of the children of the asset.
This section allows you to clear the Squid cache for arbitrary URLs. The clear cache of arbitrary URLs section of the Clear Squid cache screen is shown in the figure:
This section allows you to clear the Squid cache on specific URLs manually. Enter each page’s URLs to clear the cache and enter each URL on a new line. This method is useful if you want to clear the Squid cache on URLs that are not associated with an asset, such as a 301 remap or 404 pages.
This section allows you to schedule a scheduled job to refresh the Squid cache based on the settings you have selected on the Clear Squid cache tool. The Schedule clear cache section of the Clear Squid cache tool is shown in the figure:
You can schedule either a one-off scheduled job or a repeating scheduled job.
|The repopulate and cascade field settings will be applied to any scheduled jobs that you schedule on this tool.|
The fields available are as follows:
- Schedule a one-off job
Use the fields provided in this section to schedule a one-off scheduled job. Select the date and times when the Squid cache should be cleared from the list provided, or click on the Next run button to set the date and time to the next run of the scheduled jobs manager. Alternatively, you can set the scheduled job to take place in a certain number of minutes, hours, days, weeks, months, or years. Enter the number into the text box and select the appropriate time frame from the list provided.
- Schedule a repeating job
If you want to repeat the scheduled job, enter the time between runs in the fields provided. For example, if you want to clear the Squid cache of the home page every two days, enter
2 daysin this section. Enter the number in the first field and select the appropriate time frame in the second list.