cache-control: private is playing havoc with performance · Issue #47 · simonw/datasette-auth-github · GitHub
More Web Proxy on the site http://driver.im/
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
I'm going to fix this by having the code NOT apply cache-control: private to anything within the /-/static directory - but only when the ASGI middleware is being used by Datasette.
This means I'll add an opt-out mechani
8000
sm that other users of the middleware can potentially tap into.
In #6 we disabled all caching for logged in users.
datasette-auth-github/datasette_auth_github/github_auth.py
Lines 138 to 145 in b3aaa4c
It turns out this is causing really nasty performance issues when running with other plugins such as
datasette-vega
! See simonw/datasette#586The text was updated successfully, but these errors were encountered: