Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CacheControl instead of custom cache code #1748

Merged
merged 2 commits into from
May 9, 2014

Commits on May 9, 2014

  1. Configuration menu
    Copy the full SHA
    077fa14 View commit details
    Browse the repository at this point in the history
  2. Use CacheControl instead of custom cache code

    * Deprecates the --download-cache option & removes the download
      cache code.
    * Removes the in memory page cache on the index
    * Uses CacheControl to cache all cacheable HTTP requests to the
      filesystem.
      * Properly handles CacheControl headers for unconditional
        caching.
      * Will use ETag and Last-Modified headers to attempt to do a
        conditional HTTP request to speed up cache misses and turn
        them into cache hits.
      * Removes some concurrency unsafe code in the download cache
        accesses.
      * Uses a Cache-Control request header to limit the maximum
        length of time a cache is valid for.
    * Adds pip.appdirs to handle platform specific application
      directories such as cache, config, data, etc.
    dstufft committed May 9, 2014
    Configuration menu
    Copy the full SHA
    52ca026 View commit details
    Browse the repository at this point in the history