Overview: The web cacheing mechanism was built to help handle high-demand times. The mechanism was built entirely in 4D and will likely be replaced through other strategies, such as using Apache.
Configuration:
The cacheing mechanism is configured using a single text file. This text file resides in the Database or Server Database directories. The file is called URLS.txt
Example:
action=ring ##action=ring.launcher action=root.main ##action=schedule.launcher action=schedule action=results action=entries ##action=entries.detail action=classes action=Rider action=Owner action=Trainer
By default no pages are cached. To turn on cacheing the first part of URI needs to be added to the text file. As ShowGroundsLive is a FuseBox application this is referred to as the “Circuit”. When a circuit is added to the file that items will be cached by the server. Specific actions within the circuit can be disabled by adding additional lines for those actions with a “##” (pound sign) before them. These subitems or actions will then be ignored for cacheing. To turn off cacheing simply remove all items from the file OR add the pounds sign to the head of each line to “comment” or negate those cacheing directives.