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
What should simple-repository-server do? My feeling is that it should probably honour the max-age header. I would probably support a specific way to invalidate the cache when we know it is no longer correct (e.g. because there was an upload) - there is nothing standards-based (http standards) to support this, AFAIK.
The text was updated successfully, but these errors were encountered:
We should probably just use https://hishel.com/userguide/ for following the caching RFCs to the letter. We can always override max-age cache if we care about always getting the most fresh content (like pip does). cc @ivany4
There is a long and chequered history of
max-age
handling... notably:uv
honours it (resulting in a 2-8x speed-up, and a few issues)What should
simple-repository-server
do? My feeling is that it should probably honour themax-age
header. I would probably support a specific way to invalidate the cache when we know it is no longer correct (e.g. because there was an upload) - there is nothing standards-based (http standards) to support this, AFAIK.The text was updated successfully, but these errors were encountered: