Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 375 Bytes
[uwsgi]
log-micros = true
cache2 = name=mycache,items=100
route-if = empty:${cookie[session]} goto:cacheme
route-run = continue:
route-label = cacheme
route-if-not = startswith:${REQUEST_URI};/api/ goto:cacheme2
route-run = continue:
route-label = cacheme2
route = .* cache:key=${REQUEST_URI},name=mycache
route = .* cachestore:key=${REQUEST_URI},name=mycache,expires=10