Add cache context
This commit is contained in:
parent
4e769339ca
commit
797c990c45
6 changed files with 16 additions and 4 deletions
src/routes
|
@ -1,6 +1,7 @@
|
|||
(defpackage #:website/routes/index
|
||||
(:use #:cl
|
||||
#:hsx)
|
||||
#:hsx
|
||||
#:jingle)
|
||||
(:export #:handle-get
|
||||
#:handle-head))
|
||||
(in-package #:website/routes/index)
|
||||
|
@ -43,6 +44,7 @@
|
|||
|
||||
(defun handle-get (params)
|
||||
(declare (ignore params))
|
||||
(setf (context :cache) :static)
|
||||
(~page))
|
||||
|
||||
; for health check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue