Add cache context

This commit is contained in:
Akira Tempaku 2025-05-04 01:35:47 +09:00
commit 797c990c45
Signed by: paku
GPG key ID: 5B4E8402BCC50607
6 changed files with 16 additions and 4 deletions
src/routes

View file

@ -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