Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gregjones/httpcache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: gohugoio/httpcache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 20 files changed
  • 1 contributor

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    10eb476 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff2042c View commit details
    Browse the repository at this point in the history
  3. Rename AroundRoundTrip => Around

    bep committed May 17, 2024
    Configuration menu
    Copy the full SHA
    ef54744 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Misc adjustments

    * Rework (some) tests
    * Add EnableETagPair option to add a pair of eTags, even if the server does not provide one
    * Add CacheKey option
    * Remove redundant nil check
    * Optionally allow caching for other HTTP methods than GET and HEAD
    bep committed May 20, 2024
    Configuration menu
    Copy the full SHA
    076fa00 View commit details
    Browse the repository at this point in the history
  2. Move the memory cache to the test

    bep committed May 20, 2024
    Configuration menu
    Copy the full SHA
    6762e99 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Configuration menu
    Copy the full SHA
    135302a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0250321 View commit details
    Browse the repository at this point in the history
  3. Downgrade Go version in go.mod

    bep committed May 21, 2024
    Configuration menu
    Copy the full SHA
    7a0d97d View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Add ShouldCache option

    bep committed May 22, 2024
    Configuration menu
    Copy the full SHA
    d79f2a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Support stale cache entries

    To support eTag/change detection for entries marked stale outside of this library.
    
    Also switch the values in XETag1 and XETag2 so they are ordered by old/new.
    bep committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    d62773c View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2025

  1. Configuration menu
    Copy the full SHA
    244e49b View commit details
    Browse the repository at this point in the history
Loading