View Source Ravix.Documents.Caching (ravix v0.9.1)

fields

Fields

  • use_agressive_cache: Sends the 'If-None-Match' headers on query, if the result is cached locally and did not change, the query will return a 304 and not the actual results
  • cache_duration: How long should the cache be kept on the client side (in seconds)
  • cache: The nebulex cache module to use

Link to this section Summary

Link to this section Types

@type t() :: %Ravix.Documents.Caching{
  cache: module(),
  cache_duration: non_neg_integer(),
  enable_agressive_cache: boolean()
}