tree: cb7476be9734a0bf01b1d51d42f0cc4266fdfe7d [path history] [tgz]
  1. tests/
  2. cachekey.cc
  3. cachekey.h
  4. CMakeLists.txt
  5. common.cc
  6. common.h
  7. configs.cc
  8. configs.h
  9. pattern.cc
  10. pattern.h
  11. plugin.cc
  12. README.md
plugins/cachekey/README.md

Description

This plugin allows some common cache key manipulations based on various HTTP request elements. It can

  • sort query parameters to prevent query parameters reordering from being a cache miss
  • ignore specific query parameters from the cache key by name or regular expression
  • ignore all query parameters from the cache key
  • only use specific query parameters in the cache key by name or regular expression
  • include headers or cookies by name
  • capture values from the User-Agent header.
  • classify request using User-Agent and a list of regular expressions

Documentation

Details and examples can be found in cachekey plugin documentation.