Update the cache in DBLess mode

Can you only update the cache through the /config interface in DBLess mode?
Can you update only route cache through AdminAPI in DBLess mode?

There isn’t really any cache of entities in the same way that there is with DB-less mode: all entities are present in an instance’s memory all the time. This is sort of like having everything in-cache always.

As far as endpoints, yes, /config is the only endpoint that allows changing configuration in DB-less mode: Kong cannot update DB-less configuration incrementally; it must load the complete set of configuration at once. As such, you cannot use the individual entity endpoints (e.g. /routes) to update them, though you can use them to view those resources (GET requests work normally).

  • Thank you for your reply, this helps me

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ