GenSpoxy v0.0.14-beta.2 Spoxy.Cache.Behaviour behaviour View Source

decides if the stored data should be invalidated (for example stale data)

Link to this section Summary

Link to this section Callbacks

Link to this callback should_invalidate?(req, resp, metadata) View Source
should_invalidate?(req :: any(), resp :: any(), metadata :: any()) ::
  boolean()