Caching headers for embedded static files #12

Open
opened 2025-06-08 12:36:28 +02:00 by Jef Roosens · 0 comments
Owner

The embedded static files (HTMX and picocss) don't respond with any proper caching headers, causing the browser to re-request these on page reload. As these are completely static, they can be cached indefinitely and should respond with proper headers. Perhaps we can embed the build date as a static modified header.

The embedded static files (HTMX and picocss) don't respond with any proper caching headers, causing the browser to re-request these on page reload. As these are completely static, they can be cached indefinitely and should respond with proper headers. Perhaps we can embed the build date as a static modified header.
Jef Roosens added the
bug
label 2025-06-08 12:36:28 +02:00
Jef Roosens added this to the 0.4.0 milestone 2026-02-22 18:02:00 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/otter#12
No description provided.