Skip to content

Latest commit

 

History

History
59 lines (31 loc) · 2.32 KB

elli_middleware_cache.md

File metadata and controls

59 lines (31 loc) · 2.32 KB

Module elli_middleware_cache

Generic caching middleware.

Copyright (c) 2016, elli-lib team

Behaviours: elli_handler.

Authors: Eric Bailey (eric@ericb.me) (web site: https://github.com/yurrriq).

Function Index

handle/2
handle_event/3
postprocess/3
preprocess/2

Function Details

handle/2

handle(Event, Args) -> any()

handle_event/3

handle_event(Event, Args, Config) -> any()

postprocess/3


postprocess(Req, Res1, Config) -> Res2

preprocess/2


preprocess(Req1, Config) -> Req2