Why does Maven disable caching for HTTP requests?
问题 The default Maven settings for HTTP requests, such as the ones Maven uses to fetch artifacts from repositories, include the following headers: Cache-control: no-cache Cache-store: no-store Pragma: no-cache Expires: 0 Accept-Encoding: gzip This seems to be the documented behavior. The default Maven wagon for HTTP (i.e., the "lightweight" client) does not seem to allow disabling these headers. Why is Maven configured in this way by default? For artifacts that actually have versions, they should