Best Community Edition Caching option?

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 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:

    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 :slight_smile: