GithubHelp home page GithubHelp logo

krakendio / krakend-httpcache Goto Github PK

View Code? Open in Web Editor NEW
7.0 6.0 10.0 35 KB

A cached http client for the KrakenD framework

Home Page: http://www.krakend.io

License: Apache License 2.0

Go 100.00%

krakend-httpcache's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

krakend-httpcache's Issues

Support overwriting cache lifetime

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.

Support other cache storage backends

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

Why depending on github.com/gregjones/httpcache

HI,

i'm currently reading the documentation of KrakenD and I'm a bit surprise about this httpcache feature :

  • indeed, this is really simple...
  • but it depends on github.com/gregjones/httpcache and the project is archived

Is it the same for the entreprise version ?

memcached / redis / ... distributed memory cache implementation

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.