Fiery Tea Documentation


Static Page Caching :: Check Queue

If you have your static page cache files set to expire after a certain time interval, then when they expire they are put into a queue to be recached. When certain functions are called in the module's CP or when a new URI is cached, the module will check this queue and recached the URIs in there. However, since page caching has the potential to create a short load on your server, the module will only attempt to recache a small number of URIs at a time. This means that some URIs may not be recached for a certain amount of time.

If you wish to have the queue processed automatically (it can be done manually in the module's CP), you can put this tag in your templates and the module will process the specified number of queued URIs each time that page is loaded.

NOTE: Probably wise NOT to put this tag into a template that is likely to be cached itself.

Parameters

limit="4"

The number of queued URIs to process. Maximum allowed value is 8.

Variables

None.

Examples

{exp:static_page_caching:check_queue limit="3"}