valentineus / moodle-webhooks

Webhooks allow applications to subscribe to Moodle events.
https://moodle.org/plugins/local_webhooks
GNU General Public License v3.0
17 stars 14 forks source link

Consider caching the list of observed events #4

Open mudrd8mz opened 6 years ago

mudrd8mz commented 6 years ago

The query local_webhooks_get_list_records() runs every time an event happens, over and over returning the same result. You may consider adding some caching: https://docs.moodle.org/dev/Cache_API