You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Modernize server build and CI
- Bump the Stackage resolver to lts-20.26 (GHC 9.2.8), the newest
snapshot compatible with purescript-0.15.15. This requires protolude
0.3.3 (for lts-20.26's bytestring) and a happy-1.20.0 pin (purescript
requires happy ==1.20.0 exactly).
- Update the cabal file to cabal-version 2.4, build with -Wall -Werror,
and remove unused dependencies; delete the redundant Setup.hs
(build-type: Simple ignores it).
- Clean up server/Main.hs for -Wall: remove dead imports, fix name
shadowing, and exit with a usage message on bad arguments instead of
a partial pattern match.
- Remove the -j1 limit from CI server builds; runners have 4 vCPUs and
16GB of RAM.
* Add cache headers to nginx config
Browsers were heuristically caching the site and the compiled /output
modules because no Cache-Control header was sent; with files dating
from a 2023 deploy, cached clients could be considered fresh for
months. no-cache makes browsers revalidate via ETag: unchanged files
cost a 304, changed files are re-downloaded immediately.
Matches the configuration applied to the live server on 2026-07-05.
Also updates the changelog entries to reference this PR.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,10 @@ New features:
11
11
Bugfixes:
12
12
13
13
Other improvements:
14
+
- Bump the Stackage resolver from `lts-20.9` to `lts-20.26` (GHC 9.2.5 → 9.2.8), the newest snapshot compatible with `purescript-0.15.15` (#322 by @thomashoneyman)
15
+
- Modernize the server build: `cabal-version: 2.4`, build with `-Wall -Werror` (with attendant cleanup in `server/Main.hs`), remove unused dependencies and the redundant `Setup.hs` (#322 by @thomashoneyman)
16
+
- Speed up CI server builds by removing the `-j1` limit; runners have had 4 vCPUs and 16GB of RAM for years (#322 by @thomashoneyman)
17
+
- Serve the site and the compiled `/output` modules with `Cache-Control: no-cache` so browsers revalidate via ETag instead of heuristically caching a stale client for months after a deploy (#322 by @thomashoneyman)
0 commit comments