Remove query-string cache-busting from static assets
Drop ?v=N version pins from all JS imports and HTML <link>/<script> tags. Cache invalidation is now handled solely by server-side cache-control headers. Update docs and AGENTS.md accordingly.
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
* expandable modal, then applies all via /api/status/apply-all.
|
||||
*/
|
||||
|
||||
import { h } from '../vdom.js?v=9';
|
||||
import { html } from '../html.js?v=9';
|
||||
import { reactive } from '../reactivity.js?v=9';
|
||||
import { apiFetch, toast } from '../api.js?v=9';
|
||||
import { modelFetch } from '../model.js?v=9';
|
||||
import { openModal, closeModal, modalVNodes, isModalProcessing, setModalProcessing, refreshModals } from './modal.js?v=9';
|
||||
import { h } from '../vdom.js';
|
||||
import { html } from '../html.js';
|
||||
import { reactive } from '../reactivity.js';
|
||||
import { apiFetch, toast } from '../api.js';
|
||||
import { modelFetch } from '../model.js';
|
||||
import { openModal, closeModal, modalVNodes, isModalProcessing, setModalProcessing, refreshModals } from './modal.js';
|
||||
|
||||
export const SUBSYSTEM_LIST = [
|
||||
{ key: 'firewall', label: 'Firewall' },
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Token refresh scheduler, session check, logout.
|
||||
*/
|
||||
|
||||
import { apiFetch, setAuthToken, clearAuthTokens, redirectLogin, getAuthToken, tryRefreshToken, toast } from '../api.js?v=12';
|
||||
import { apiFetch, setAuthToken, clearAuthTokens, redirectLogin, getAuthToken, tryRefreshToken, toast } from '../api.js';
|
||||
|
||||
/**
|
||||
* Schedule a token refresh based on the access token TTL stored in sessionStorage.
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
* Data display components: Badge, StatusDot, Empty, Card.
|
||||
*/
|
||||
|
||||
import { h } from '../vdom.js?v=9';
|
||||
import { esc } from '../helpers.js?v=9';
|
||||
import { apiFetch, toast } from '../api.js?v=9';
|
||||
import { modelFetch } from '../model.js?v=9';
|
||||
import { requestUpdate } from '../reactivity.js?v=9';
|
||||
import { h } from '../vdom.js';
|
||||
import { esc } from '../helpers.js';
|
||||
import { apiFetch, toast } from '../api.js';
|
||||
import { modelFetch } from '../model.js';
|
||||
import { requestUpdate } from '../reactivity.js';
|
||||
|
||||
const _actionPending = new Map();
|
||||
const _confirmPending = new Map();
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
* Layout components: PageHeader, Tabs, SectionTitle, DataTableSection, ActionGroup.
|
||||
*/
|
||||
|
||||
import { h } from '../vdom.js?v=9';
|
||||
import { Table } from './data.js?v=9';
|
||||
import { collectLoadingModels } from '../model.js?v=9';
|
||||
import { h } from '../vdom.js';
|
||||
import { Table } from './data.js';
|
||||
import { collectLoadingModels } from '../model.js';
|
||||
|
||||
/**
|
||||
* Page header with title, optional subtitle, and action buttons.
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
* avoid fighting with the main render cycle.
|
||||
*/
|
||||
|
||||
import { esc, att_esc } from '../helpers.js?v=9';
|
||||
import { apiSubmit } from '../api.js?v=9';
|
||||
import { createDom } from '../vdom.js?v=9';
|
||||
import { esc, att_esc } from '../helpers.js';
|
||||
import { apiSubmit } from '../api.js';
|
||||
import { createDom } from '../vdom.js';
|
||||
|
||||
/**
|
||||
* Render Hoover VNodes into a modal content element.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* Uses qrcode-svg library for generation.
|
||||
*/
|
||||
|
||||
import { h } from '../vdom.js?v=9';
|
||||
import { esc } from '../helpers.js?v=9';
|
||||
import { h } from '../vdom.js';
|
||||
import { esc } from '../helpers.js';
|
||||
import QRCode from '../../../vendor/qrcode-svg-1.1.0.js';
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* Uses the toast/dismissToast state from api.js.
|
||||
*/
|
||||
|
||||
import { h } from '../vdom.js?v=9';
|
||||
import { _toasts, dismissToast } from '../api.js?v=9';
|
||||
import { h } from '../vdom.js';
|
||||
import { _toasts, dismissToast } from '../api.js';
|
||||
|
||||
/**
|
||||
* Render all pending toast notifications.
|
||||
|
||||
Reference in New Issue
Block a user