HTTP cache recommendation for Traefik 2.x on Docker?

I'm looking to speed up access to HTTP resources and have been exploring cache options. I've come across two possibilities:

  • Simple Cache
    Seemed promising, but it doesn't appear to be actively maintained, and some users have reported it not working.

  • Souin
    Seems more full-featured but more complicated to set up.

Does anyone have any experience with either of those plugins or any other recommendations?

Thanks for any info or insights!

Is anyone using Souin with Traefik v3?

Maybe ask on the Reddit Traefik forum, sometimes it seems there is more traffic there.


Why do you think it's more complicated to setup @shot ? I do like to read some user feedback about DX/UX. We could see together if it's possible to make complicated parts simpler.

Hey @darkweak, thanks for the reply!

I was unsuccessful setting it up as a container (as opposed to using it as a plugin). The main problem was TLS related as described in this post. I think the main issue was the fact that I'm running a root CA on my dev machine (created with mkcert), so acme.json really doesn't apply in that context, and I couldn't figure out how to make it work. Maybe I overlooked something obvious.

Anyway, since then, I gave plugin mode another go (no pun intended) and was SUCCESSFUL! I've now got it working on my dev machine, although lots of tweaks and refinements are still needed. It's been quite a learning experience, because I'm using several middlewares which add, remove, and modify headers; and there was a LOT of trial and error needed to figure out where in the middleware "chain" Souin should go.

At least I'm making progress now, so that's a good thing. Thanks for taking the time to respond to my post and also for creating Souin! :slightly_smiling_face: