server/client: tidy up cache control, enforce server validation and remove version from build assets file names

This commit is contained in:
jean-emmanuel 2025-12-09 12:17:26 +01:00
parent 71293de694
commit 92ef3b7ac1
9 changed files with 51 additions and 24 deletions

View file

@ -11,7 +11,7 @@
font-style: normal;
font-weight: 900;
font-display: block;
src: url("./fa-solid-900.woff2?__OSC_ASSET__=1") format("woff2"); }
src: url("./fa-solid-900.woff2") format("woff2"); }
.fa,
.fas,

View file

@ -2,14 +2,14 @@
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url('./Roboto-Bold.woff2?__OSC_ASSET__=1') format('woff2');
src: url('./Roboto-Bold.woff2') format('woff2');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url('./Roboto-Medium.woff2?__OSC_ASSET__=1') format('woff2');
src: url('./Roboto-Medium.woff2') format('woff2');
}
@ -17,19 +17,19 @@
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url('./Roboto-Regular.woff2?__OSC_ASSET__=1') format('woff2');
src: url('./Roboto-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: url('./Roboto-Light.woff2?__OSC_ASSET__=1') format('woff2');
src: url('./Roboto-Light.woff2') format('woff2');
}
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 500;
src: url('./roboto-mono.woff?__OSC_ASSET__=1') format('woff');
src: url('./roboto-mono.woff') format('woff');
}