Add filemtime-based asset enqueue and cache-busting #23

Closed
opened 2026-07-01 01:05:08 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 01:05:08 +00:00 (Migrated from github.com)

Problem

CSS/JS changes must invalidate browser caches reliably without manual version bumps. Enqueued assets are versioned by their file modification time.

Acceptance criteria

  • All enqueued styles and scripts use filemtime as their version string.
  • Assets are only enqueued on pages/surfaces that need them.
  • The day-view script is enqueued with appropriate dependencies and loaded in the footer.
  • No render-blocking assets are enqueued on pages without Ordo surfaces.

Notes

No runtime build step; Node is build-time only.

## Problem CSS/JS changes must invalidate browser caches reliably without manual version bumps. Enqueued assets are versioned by their file modification time. ## Acceptance criteria - [ ] All enqueued styles and scripts use filemtime as their version string. - [ ] Assets are only enqueued on pages/surfaces that need them. - [ ] The day-view script is enqueued with appropriate dependencies and loaded in the footer. - [ ] No render-blocking assets are enqueued on pages without Ordo surfaces. ## Notes No runtime build step; Node is build-time only.
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
Directorium/Ordo#23
No description provided.