krakendio / krakend-httpcache Goto Github PK
View Code? Open in Web Editor NEWA cached http client for the KrakenD framework
Home Page: http://www.krakend.io
License: Apache License 2.0
A cached http client for the KrakenD framework
Home Page: http://www.krakend.io
License: Apache License 2.0
Hey, I'm wondering if it would be possible to support overwriting the cache lifetime in the config.
My usecase specifically is a very short cache (~30s or so) to keep the load on the backends low. However, I do not want to set this as the Cache-Control header on the backend (particularly because I don't have control over all backends).
I don't have any knowledge of Go at all so I can't really do a PR right now.
Hi guys,
Hope you are all well again !
How would you integrate an api proxy like sourcegraph's apiproxy to manage MaxAge revalidation values per krakend routes in the config file ?
And, I extend my question with other cache storage backends as you can use several with gregjones' package. (https://github.com/gregjones/httpcache#cache-backends). So how can I extend krakend-httpcache plugin to manage specific configs for local or cloud backends like redis, badger or azurestorage.
httpcache storage configs examples:
The idea is to gain some flexibity on caching content from rate limited api providers, like github.com,..., and to gain manage it from the config file. Use case: integration of krakend with flogo and the flogo webui.
Cheers,
Rosco
i am trying to cache from backend which returns header as Cache-Control: no-cache, no-store, max-age=0, must-revalidate
. is it possible to cache data in this scenario and want to cache for 1 minutes max? let me know your suggestion
HI,
i'm currently reading the documentation of KrakenD and I'm a bit surprise about this httpcache feature :
Is it the same for the entreprise version ?
Hi there!
Krakend's doc states that the admin is responsible of the amount of RAM dedicated to the memory cache (no way to specify a maximum amount, LRU eviction, etc.
Also, this implementation does not make use of shared cache topologies in multinode deployments (with more than one krakend running)
It's strange there is no support to Redis or memcached services. I see you use https://github.com/gregjones/httpcache so it's a pity you can't use at least the https://github.com/gregjones/httpcache/tree/master/memcache version which would allow for a shared memcached server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.