Thanks for writing this plugin, it's going to save me a bunch of time.
This might be more of a generic MODX question but I'm wondering about the possibility of caching results to minimise unnecessary API calls (thinking of both efficiency and expense). Typically, the playlist I'm going to read doesn't change very often so there's little merit in a real-time API call to YouTube.
I suppose it'd be nice to have a cache parameter - either leveraging the MODX cache for the snippet itself, or caching the API results. The latter probably means storing the result from the API request in a table which adds complexity.
Is there an obvious solution to this that I'm missing?
Thanks for writing this plugin, it's going to save me a bunch of time.
This might be more of a generic MODX question but I'm wondering about the possibility of caching results to minimise unnecessary API calls (thinking of both efficiency and expense). Typically, the playlist I'm going to read doesn't change very often so there's little merit in a real-time API call to YouTube.
I suppose it'd be nice to have a cache parameter - either leveraging the MODX cache for the snippet itself, or caching the API results. The latter probably means storing the result from the API request in a table which adds complexity.
Is there an obvious solution to this that I'm missing?