tree: a671d6dbfd03c0893a7bf802be51a5850906668e [path history] [tgz]
  1. tests/
  2. cachekey.cc
  3. cachekey.h
  4. common.cc
  5. common.h
  6. configs.cc
  7. configs.h
  8. Makefile.inc
  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.