Managing Web Application Firewall Caching Rules

DescriptionCaching Rules: Cyber Security

Contents

Caching rules overview

Caching helps with improving efficiency by storing frequently used data. This way cached content is served from the edge server(s) without the need to fetch it from the origin.

You can manage caching rules directly in the Control Center by going to Caching Policies page.

This also displays and allows for management of any existing rule(s) you might already have.

Adding a new rule

  1. On the Caching Policies page, click the Add rule button.
  2. Select the type of content you want to cache (e.g: Webpage or a file) and click Next.
  3. Enter the details and click Add rule.

It is important to point out that rules are implemented in the sequence they are added. It is advisable to add the most aggressive rules first to help prioritize the caching. A general approach can be to add 'do no cache' rules before caching rules.

Selecting new caching rule type

Specify URL caching rule settings and defaults

Specify file caching rule settings and defaults

Specify never caching URL rule settings and default

Specify never caching rule settings and defaults

Often used rules (samples)

  1. Do not cache WordPress admin page:
     

  2. Cache home page
     
     
  3. Cache static content
     


Cache statistics and logs

Please use the Caching Policies page to view Cache Savings, Global Traffic, Hit Ratio, Top Not Cached and other statistics.

Please use the Caching Policies page to view detailed asset caching statistics including: Request Date/Time, Asset, Client IP, Request URL, Cache Status, Country, Browser and OS information.