As I understand there are two primary places where I can store my plugin information:
-
Plugin config. Declared in schema.lua. https://docs.konghq.com/0.14.x/plugin-development/plugin-configuration/
-
Datastore. Declared in daos.lua. https://docs.konghq.com/0.14.x/plugin-development/custom-entities/
What is the advantages of using datastore? Can I just store everything I need in plugin config? If I need update something I just provide another config and it must be invalidated automatically. Also I don’t need care about caching cause I guess config is automatically cached (not reloaded from db on every request?) Would it be practical to have 100 kbytes config?