Comments (3)
Hey @yongzhang thank you for your feedback. I investigated about your issue and the traffic configuration parser is not equal to the actual configuration https://github.com/darkweak/souin/blob/master/plugins/traefik/main.go#L74
. The default_cache
doesn't try to parse neither the key
nor the cache_keys
keys. If you have some time to write a fix (just add some cases to the existing code) or can wait few days (because I'm a bit busy now) I could write the fix.
from souin.
Hey @yongzhang thank you for your feedback. I investigated about your issue and the traffic configuration parser is not equal to the actual configuration
https://github.com/darkweak/souin/blob/master/plugins/traefik/main.go#L74
. Thedefault_cache
doesn't try to parse neither thekey
nor thecache_keys
keys. If you have some time to write a fix (just add some cases to the existing code) or can wait few days (because I'm a bit busy now) I could write the fix.
ahh... yea I can try with a fix, if I can't complete this then I'll ping you again here 😄
from souin.
@darkweak After looking into the code, I'm a bit confused that, in this place:
https://github.com/darkweak/souin/blob/master/plugins/traefik/main.go#L22-L28
Why it returns TestConfiguration
? Why not just use Configuration
so traefik will parse input automatically?
from souin.
Related Issues (20)
- New cache engine, implementation rueidis
- panic in Caddy plugin HOT 6
- order cache before rewrite - question HOT 1
- API doesn't work if Caddy's hostname is in format of `http://10.0.0.1:8080` rather than `:8080` HOT 5
- Feature request: customization of cache key HOT 8
- Surrogate keys API seems broken with multiple sites HOT 7
- Redis stops working after a short moment? HOT 5
- souin on traefik get api souin url HOT 1
- Purging will purge surrogate_keys but it will still load cached HOT 6
- Fail to build with go < 1.21 HOT 2
- Souin doesn't cache conditional request after cache miss
- Cache-Control: stale-while-revalidate HOT 1
- Redirects Hangs: How to exclude redirects from Caching HOT 11
- Prom Metrics not Incrementing HOT 1
- Caddy plugin does not build HOT 5
- Feature request: actual custom key generation HOT 11
- Separate cache entry is created for Safari browser HOT 3
- Update Nutsdb to latest version 1.0.4 HOT 2
- Error when trying to pull plugin [Traefik] HOT 3
- Surrogate keys not being set properly for Redis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from souin.