TeslaCache v0.1.2 Tesla.Middleware.Cache View Source
Cache the response for X milliseconds.
Example
defmodule MyClient do
use Tesla
plug Tesla.Middleware.Cache, ttl: :timer.minutes(10)
end
Link to this section Summary
Functions
Callback implementation for Tesla.Middleware.call/3
Link to this section Functions
Callback implementation for Tesla.Middleware.call/3
.