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
You are correct, and this a problem that needs to be resolved.
During the major microcule refactor last year, all previous service source code fetching and caching logic was removed from hook.io core ( this is good ). We then implemented an intelligent cache for microservice source code with CouchDB2 and Redis for source code stored directly in hook.io as a string. This works great for service code stored directly on hook.io
The problem now is that by default, all remote source code sources ( gist and github repo ) are not being cached at all. This means slow performance for Github sources.
The solution is to resolve this issue first: stackvana/microcule#14. We can pass in the same redis cache provider that we do for rate limiter plugin ( should be easy to do ).
Then we need the UX. I'm not sure I like is the idea of Development and Production mode for services acting this way. Most users would end up forgetting to switch to Production mode.
We do need to implement the cache provider for Github sources, but I am still not 100% clear on how we'll surface that API to the user. I'm open to suggestions. If we can't think of anything better, we will go back to the previous API of having a mode dropdown for Development or Production.
Recent changes disabled access to selection of production/development mode.
The text was updated successfully, but these errors were encountered: