# Best Community Edition Caching option?

**URL:** <https://community.traefik.io/t/best-community-edition-caching-option/26652>\
**Category:** Traefik v3 (latest)\
**Tags:** plugin\
**Created:** [February 26, 2025, 1:00pm UTC](https://community.traefik.io/t/best-community-edition-caching-option/26652 "2025-02-26T13:00:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimWatts](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/timwatts/32/10036_2.png) [@TimWatts](https://community.traefik.io/u/TimWatts)\
**Post date:** [February 26, 2025, 1:00pm UTC](https://community.traefik.io/t/best-community-edition-caching-option/26652/1 "2025-02-26T13:00:03Z")

</div>

Thoughts?

I have been playing with SimpleCache (no way to cap resource use that I can see) and Souin.

1 - Souin

With Souin, the plugin says: " Since `v1.7.0` Souin implements only one storage. If you need a specific storage you have to take it from [the storages repository](https://github.com/darkweak/storages) and add it either in your code, during the build otherwise."

Unclear what this means? Which storage? Badger? No matter what config I give it, it seems to just do what it wants and maybe even ignores the storage config yaml I gave it.

eg:

```auto
    http-cache:
      plugin:
        souin:
          default_cache:
            badger:
              configuration:
                Dir: /volumes/cache/souin/badger/
                ValueDir: /volumes/cache/souin/badger/
                ValueLogFileSize: 1000000
                MemTableSize: 10
                ValueThreshold: 1000
                BypassLockGuard: true
                InMemory: false
                SyncWrites: true
            ttl: 1h
            default_cache_control: public, max-age=600
          log_level: debug

```

It never writes to that directory.

log level is debug - but unsure where these logs are going - they are not appearing in the main traefik log which is also set to debug...

2- Varnish

How would you configure this to run so that traefik can decide the routing, eg a loadbalancer with 2 target app servers? Can't find many examples of varnish with traefik...

Cheers 🙂

---

<div class="post-metadata">

**Author:** ![omrish](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/omrish/32/9066_2.png) [@omrish](https://community.traefik.io/u/omrish)\
**Post date:** [May 7, 2025, 1:01pm UTC](https://community.traefik.io/t/best-community-edition-caching-option/26652/2 "2025-05-07T13:01:12Z")

</div>

Any news on this?  
@TimWatts Have you found a solution? do you have a a working example of Varnish?

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [May 7, 2025, 1:45pm UTC](https://community.traefik.io/t/best-community-edition-caching-option/26652/3 "2025-05-07T13:45:38Z")

</div>

Maybe search [Traefik plugins](https://plugins.traefik.io/plugins) for "cache", then pick a maintained result.
