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
We already have a service worker - it's just not doing anything. We should cache assets and API requests - this could really reduce un-necessary load to the completions endpoint.
The text was updated successfully, but these errors were encountered:
For /api endpoints, the main goal is to reduce calls to /api/completions and api/algebra when someone is
• backspacing
• retyping the same thing
• swapping
This doesn't have to live for longer than their visit - is there a way to empty a service-worker cache when someone leaves the page? This is probably better to implement in an API client with an in-memory cache.
We already have a service worker - it's just not doing anything. We should cache assets and API requests - this could really reduce un-necessary load to the
completions
endpoint.The text was updated successfully, but these errors were encountered: