Skip to content

VConf overview

This documentation covers the various configuration options available in vconf.set for cache management, bot verification, Modsecurity, origin, and rate limiting.

HTTP Configuration:#

  1. GZIP: Enables/disables GZIP compression of HTTP responses
  2. Websockets: Enables/disables support for websocket protocol
  3. Track sessions: Enables tracking of client requests using a session ID cookie
  4. Debug: Enables debug mode with special response headers to the client

Transforms:#

  1. Beacon: Inserts a beacon script into the rewritten HTML
  2. lazy_sizes: Enables lazy loading of images
  3. rewrite_domains: Replaces domain names in HTML pages

Redirection:#

  1. HTTP redirect location: Specifies the status code to use for redirect
  2. HTTP redirect status code: Redirect with 301 or 302 status code

Caching:#

  1. CDN: Allows caching of responses from the origin
  2. CDN enabled: Enables caching of content based on the Cache-Control header
  3. CDN query mode: Controls criteria for considering and storing fetched resources and query string behavior
  4. Implicit cache TTL: Specifies the lifetime of cached objects in seconds
  5. CDN skip cookie: Skips CDN for requests with matching cookie pattern
  6. CDN remove query args: Removes specified query arguments from request path
  7. Cache subkey vars: Allows additional variables to construct cache key
  8. Cache strip cookies: Strips Set-Cookie headers from stored responses and outgoing requests
  9. Cache strip set-cookies: Strips Set-Cookie headers from cached responses
  10. Cache require cache control: Skips cache store if no Cache-Control header found in response
  11. Cache ignore request cache control: Ignores Cache-Control request directives
  12. Edge TTL sec: Forces resources to be stored for a specified number of seconds
  13. Browser TTL sec: Overrides Cache-Control max-age for cached resources

These options provide flexibility to optimize the performance and functionality of your system to meet your specific needs.