cooperlees / banderfront

Frontend Webserver for Bandersnatch Mirrors
MIT License
1 stars 1 forks source link

Implement Cache #1

Open cooperlees opened 4 years ago

cooperlees commented 4 years ago

We need a LRU key value store to put package Simple HTML into.

Proposed flows to support:

Actually links will depend on storage used for blobs. Examples:

I envision with S3 / Switch we'd use a CDN / service HTTP to redirect to for download of the blob (sdist or wheel).

cooperlees commented 4 years ago

https://github.com/cooperlees/banderfront/commit/0ed6d0236281da0520e9890b3f7375400aaf84f0 puts a POC up.

Next is to populate the /simple html root at startup and then get some routes to use the redis cache for the HTML.