Packages
Plug to cache requests declaratively for either GraphQL or Phoenix, this plug is intended to short circuit all json/decoding or parsing a server would normally do
Current section
Files
Jump to
Current section
Files
request_cache_plug
CHANGELOG.md
CHANGELOG.md
# 1.0.2
- Add rc-cache-key header so you can invalidate specific cache items
# 1.0.1
- Disable middleware when enabled? false in global config
# 1.0.0
- turn off caching errors by default, you must tune errors to `:all` to retain prior behaviour
# 0.4.0
- add whitelist for specific query names for caching instead of caching all, default all still cached
- add ability to tune caching errors, default all still cached
# 0.3.0
- Big fixes for caching not applying all the time
- Content type fixes to respect different forms of responses
# 0.2.4
- Fix issue from defaults
# 0.2.3
- remove all the extra default options merges in order to rely on choice function in plug
# 0.2.2
- You can now provide `ttl` and `cache` settings to the plug directly
# 0.2.1
- Tags can now include labels for metrics
# 0.2.0
- Add header to signify request cache is running
# 0.1.14
- Ensure default ttl is applied properly
# 0.1.13
- Add custom labels per endpoint via telemetry metrics
# 0.1.12
- Add telemetry metrics
# 0.1.11
- Fix error messaging
- Make sure cache module gets pulled out of config or the conn opts properly
# 0.1.10
- Add contenttype of application/json to response
# 0.1.9
- Swap to md5 hashing as phash doesn't contain enough range
# 0.1.8
- fix config app not matching app name
# 0.1.7
- fix issue with plug not pulling configured cache
# 0.1.6
- fix issue with plug not pulling ttls out when using absinthe plugs
# 0.1.5
- fix some bugs around resolver usage of store
- add verbose logging when enabled
# 0.1.4
- add debug log when item returned from cache
# 0.1.3
- Stop raising exceptions and log messages in debug mode
- add `enabled?` global config`
# 0.1.2
- Fix the child_spec inside of ConCacheStore
# 0.1.1
- Lower absinthe version requirement
# 0.1.0
- Initial Release