Comments (2)
Wouldn't this kill parallel downloads? debian bug#158486
Having no cache is feature actually, see httpredir homepage under "Advantages over mirror:// method"
Per-request decision making: no need to apt-get update to choose a different mirror.
from http-redirector.
The redirections that are served with a 307 status are really not meant to be put in a time-driven cache. The files, or objects, behind those names are replaced in-place and it is the redirector the one that is controlling the view that is presented to the user.
I would be happy to add an etag or similar that would allow the proxy to cache to revalidate the response if proxies actually support that, but TTBOMK they don't. Moreover, apt sends a cache-control: must-revalidate for all the indexes - which are the most relevant files for which a 307 is used.
from http-redirector.
Related Issues (20)
- debian.dc-uoit.net is return a private IPv4 adress HOT 1
- suggestion for better mirror
- restrict to ipv4 lookups only. HOT 1
- http://httpredir.debian.org/debian Not Found HOT 4
- frequent "502 connection closed" errors
- httpredir.debian.org returns IPv4 only domains for an IPv6 only machine HOT 8
- Caching doesn't seem to work with http-redirector HOT 3
- restrict to only certain domains (e.g. *.debian.org) HOT 2
- Redirects are not permanent HOT 2
- please blacklist mirror.dhakacom.com, it returns every request as 403 Forbidden HOT 1
- Please add support for the new debug archive
- Missing Hungary
- Redirects to mirror with missing packages
- Doesn't understand new ftpsync tracefiles
- Failed to fetch libx11-xcb HOT 4
- flaky 'Remote end closed connection' in docker build HOT 14
- Redirects IPv6 client to hostname which has IPv6, but isn't listening on IPv6
- Redirected to mirrors which are far from client computer HOT 2
- HTTPS version, i.e. https://httpsredir.debian.org/debian
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-redirector.