Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gendl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
45
Issues
45
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
gendl
gendl
Commits
39d214d7
Commit
39d214d7
authored
Sep 22, 2018
by
Dave Cooper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added cache directives for publishing of gwl static resources.
parent
b9632d10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
initialize.lisp
gwl/zzinit/source/initialize.lisp
+1
-0
No files found.
gwl/zzinit/source/initialize.lisp
View file @
39d214d7
...
...
@@ -38,6 +38,7 @@
(
defun
publish-statics
(
server
)
(
let
((
destination
(
ensure-static-relative-pathname
""
)))
(
when
destination
(
publish-directory
:headers
(
list
(
cons
:cache-control
"public, max-age=3600, must-revalidate"
))
:prefix
"/static/"
:server
server
:destination
(
namestring
destination
)))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment