You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some applications (or endpoint, depends on the use) cache is required to not be accessing the database (PostgreSQL) in every request.
by default it should be a key-value bank embedded inside prestd (no external dependencies) and support other external key-value banks with adapter architecture
Store key/value:
key: endpoint + query string (GET)
value: return body
configuration (TOML/ENV):
[cache]
time = 10M
store = bolt
sotrePath = "./"
sotrePath: native memory storage support (no path declaration required, :memory:)
Stores (adapters):
buntdb - we are not thinking about performance, but it should be faster than running a query in postgresql, (boltdeprecated)
In some applications (or endpoint, depends on the use) cache is required to not be accessing the database (PostgreSQL) in every request.
Store key/value:
configuration (TOML/ENV):
sotrePath
: native memory storage support (no path declaration required,:memory:
)Stores (adapters):
(boltdeprecated
)Times:
S
ors
: secondM
orm
: minuteH
orh
: hourD
ord
: dayIf there is no cache in the configuration register (access the Bank in real time).
The text was updated successfully, but these errors were encountered: