tree: 084d583d4c2d1220062263c6f5636078dff28042 [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. Makefile.inc
  10. pattern.cc
  11. pattern.h
  12. plugin.cc
  13. 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.