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

Refactor existing caching mechanism into pluggable system #766

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 29, 2023

  1. Refactor existing caching mechanism into pluggable system

    Create an interface `Cache`, similiar to `storage.Storage` that
    will allow for pluggable caching extensions. Caching subsystem is
    created with full access to Request and Response objects, to potentialy
    make more complex caching decisions based on both request and response
    headers. Because of the need to access those objects, `Cache` is not
    created in its own package like `storage`, but in root `colly`.
    
    Closes gocolly#103
    unjello committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    c866706 View commit details
    Browse the repository at this point in the history
  2. Remove leftover function

    unjello committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    16f4136 View commit details
    Browse the repository at this point in the history