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

Doesn't work #18

Open
AdriDevelopsThings opened this issue Nov 22, 2021 · 2 comments
Open

Doesn't work #18

AdriDevelopsThings opened this issue Nov 22, 2021 · 2 comments

Comments

@AdriDevelopsThings
Copy link

Hey,

I installed the plugin, but when I make the request multiple types the header cache-status field is always: "miss":

traefik.yml

experimental:
  plugins:
    cache:
      modulename: "github.com/traefik/plugin-simplecache"
      version: "v0.2.1"

cache.yml

http:
  middlewares:
    regenbogen-ice-api-cache:
      plugin:
        cache:
          path: /cache/regenbogenice
          maxExpiry: 60

router
image

and my requests:
image

I hope you can help me.

@nismoau
Copy link

nismoau commented Apr 19, 2023

I can't get it to work either. Might be because Traefik Enterprise has a cache feature?

@iamolegga
Copy link

The reason could be that the original response doesn't have any cache-related info for the underlying module https://github.com/pquerna/cachecontrol. In case anyone is still interested I've forked this plugin and added the hack for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants