This repository has been archived by the owner on Oct 6, 2022. It is now read-only.
Advanced cache configuration #339
Labels
enhancement
good first issue
Good issue to begin contributing to Rendertron
Hacktoberfest
help wanted
Milestone
As our caching options became more flexible and caching is an integral part of Rendertron we would like to introduce a different way of handling cache configuration.
Currently, the cache configuration is
cache
and can either benull
,datastore
ormemory
.The goals of this issue are:
cache
property of the Config to be a new type (CacheConfig
for example) or null.CacheConfig
type should contain two properties:provider
property that is eitherdatastore
ormemory
max_entries
property that is an optional numberexpiry_in_minutes
property that is an optional numberexpiry_in_minutes
setting instead of the hardcoded expiry value (here).max_entries
setting instead of the hardcoded value here.docs/configure.md
to have a section on the newcache
settings that explains how the cache can be configured.The text was updated successfully, but these errors were encountered: