Qbik Helpsys

Creating Cache Rules

License restriction:Multiple cache rules are only available when using a WinGate Enterprise license.

The HTTP Cache Rules panel allows you to specify custom rules for caching content. Each rule you create allows you to set a number of criteria for how the rule is applied:

To create a rule:

  1. Open the WinGate Management console.
  2. Navigate to Control Panel > HTTP Cache.
  3. Select the Rules panel.
  4. On the Rules panel right click and select Add rule from the menu. This will open the Add rule wizard.

  5. Select the site(s) that this rule applies to. Check Applies to all sites for the rule to apply to every visited site or uncheck and click Add a new site to add one or more sites for the rule to apply to.

    Note: www.wingate.com and wingate.com are considered different sites and will require two entries in the Sites list to cover both.

     

  6. Click the Next button to bring up the Content-Types dialog.
  7. Select the content type(s) that this rule applies to. Check Applies to all content types for the rule to apply to every content type or uncheck and click the Add a new content type button to add one or more content types for the rule to apply to.

    You can enter wildcards for subtypes in order to match against every subtype of a primary type. e.g. video/* will match all video content types

  8. Click the Next button to bring up the Rule result dialog.
  9. In the Rule result dialog select how long the content is to be deemed to be fresh (able to be served without revalidation).


    Do not cache

    Select this option disallow caching of content that matches the criteria.


    Heuristic Freshness Lifetime

    If the resource contains no information indicating its freshness lifetime (how long it can be kept cached), you can select to use a percentage of the age of the resource if available.


    Limits

    You may force the freshness lifetime to be at least or at most a certain amount. These limits are applied even if you do not override the Heuristic Freshness Lifetime


    Cache control

    Selecting this option will ignore some Cache-Control header values in responses sent from servers. This may make some previously uncacheable content subsequently cacheable.
    NOTE: Be aware that servers typically set these values to keep data private and changing this option may make resources intended for one user be returned to other users of the cache.

You can use basic Full-Text Searches against the page title and body to find matching articles. Use the following search modifiers to refine your query:

  • event management (no quotes) will find all pages containing the words "event" OR "management"
  • "event management" (with quotes) will find all pages containing the phrase "event management"
  • +event -management will find all pages containing the word "event", AND NOT the word "management"