]> Untitled Git - lemmy-ui.git/commit
Set cache-control headers to reduce server load (fixes #412) (#1641)
authorNutomic <me@nutomic.com>
Wed, 28 Jun 2023 20:32:07 +0000 (22:32 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 20:32:07 +0000 (16:32 -0400)
commit32063a5794676e0d4683761850bc2bc8b9418c3e
tree3bd6041325f9fc6a24a63cca887308675e130110
parent0e9faf75da90f6bf567b001cc70de44ec7b1153b
Set cache-control headers to reduce server load (fixes #412) (#1641)

* Set cache-control headers to reduce server load (fixes #412)

* add missing file

* remove old middleware folder

* use let

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
src/server/index.tsx
src/server/middleware.ts [new file with mode: 0644]
src/server/middleware/set-default-csp.ts [deleted file]