caching implemented and a flake tool for logo

This commit is contained in:
Priec
2026-06-29 12:38:27 +02:00
parent ed3150136a
commit 7b28e0d7a0
4 changed files with 11 additions and 1 deletions

View File

@@ -62,7 +62,7 @@
} }
</script> </script>
<link href="/static/css/app.css?v=2026-06-16" rel="stylesheet" type="text/css"> <link href="/static/css/app.css?v=2026-06-16" rel="stylesheet" type="text/css">
<script src="/static/vendor/htmx/htmx-1.9.12.min.js"></script> <script defer src="/static/vendor/htmx/htmx-1.9.12.min.js"></script>
<!-- Alpine Focus plugin (x-trap / $focus) — must load before Alpine core; <!-- Alpine Focus plugin (x-trap / $focus) — must load before Alpine core;
required by the Penguin UI keyboard-accessible dropdowns. --> required by the Penguin UI keyboard-accessible dropdowns. -->
<script defer src="/static/vendor/alpine/alpine-focus-3.14.9.min.js"></script> <script defer src="/static/vendor/alpine/alpine-focus-3.14.9.min.js"></script>

View File

@@ -24,6 +24,10 @@ server:
host: http://localhost host: http://localhost
# Out of the box middleware configuration. to disable middleware you can changed the `enable` field to `false` of comment the middleware block # Out of the box middleware configuration. to disable middleware you can changed the `enable` field to `false` of comment the middleware block
middlewares: middlewares:
# gzip/br compression for text responses (HTML, CSS, JS) — Lighthouse
# "Document request latency: No compression applied".
compression:
enable: true
static: static:
enable: true enable: true
must_exist: true must_exist: true

View File

@@ -9,6 +9,10 @@ server:
binding: "{{ get_env(name="SERVER_BINDING", default="0.0.0.0") }}" binding: "{{ get_env(name="SERVER_BINDING", default="0.0.0.0") }}"
host: "{{ get_env(name="APP_HOST") }}" host: "{{ get_env(name="APP_HOST") }}"
middlewares: middlewares:
# gzip/br compression for text responses (HTML, CSS, JS) — Lighthouse
# "Document request latency: No compression applied".
compression:
enable: true
static: static:
enable: true enable: true
must_exist: true must_exist: true

View File

@@ -95,6 +95,8 @@
pkgs.llvmPackages.libclang.lib pkgs.llvmPackages.libclang.lib
# loco-rs CLI workflow helpers # loco-rs CLI workflow helpers
pkgs.sea-orm-cli pkgs.sea-orm-cli
# Logo/vector asset workflow helpers
pkgs.potrace
]; ];
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib"; LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";