@@ -122,12 +122,58 @@ export default defineConfig({
122122 "/programme/c-api-summit" : "/session/c-api-summit" ,
123123 "/programme/wasm-summit" : "/session/webassembly-summit" ,
124124 "/discord" : "https://discord.gg/BhTN2zJPMh" ,
125+ // For AV team internal use: break screens
126+ "/break/forum-hall" :
127+ "https://overlays.gbdl.in/ep-forum-hall/scene-schedule.html" ,
128+ "/break/north-hall" :
129+ "https://overlays.gbdl.in/ep-north-hall/scene-schedule.html" ,
130+ "/break/south-hall-2a" :
131+ "https://overlays.gbdl.in/ep-south-hall-2a/scene-schedule.html" ,
132+ "/break/south-hall-2b" :
133+ "https://overlays.gbdl.in/ep-south-hall-2b/scene-schedule.html" ,
134+ "/break/terrace-2a" :
135+ "https://overlays.gbdl.in/ep-terrace-2a/scene-schedule.html" ,
136+ "/break/terrace-2b" :
137+ "https://overlays.gbdl.in/ep-terrace-2b/scene-schedule.html" ,
138+ // For AV team internal use: VDO ninja screen share
139+ "/ninja/forum-hall" :
140+ "https://vdo.ninja/?room=EuroPython_2025_Forum_Hall&hash=338a&do" ,
141+ "/ninja/north-hall" :
142+ "https://vdo.ninja/?room=EuroPython_2025_North_Hall&hash=338a&do" ,
143+ "/ninja/south-hall-2a" :
144+ "https://vdo.ninja/?room=EuroPython_2025_Southhall_2A&hash=338a&do" ,
145+ "/ninja/south-hall-2b" :
146+ "https://vdo.ninja/?room=EuroPython_2025_Southhall_2B&hash=338a&do" ,
147+ "/ninja/terrace-2a" :
148+ "https://vdo.ninja/?room=EuroPython_2025_Terrace_2A&hash=338a&do" ,
149+ "/ninja/terrace-2b" :
150+ "https://vdo.ninja/?room=EuroPython_2025_Terrace_2B&hash=338a&do" ,
125151 } ,
126152 integrations : [
127153 mdx ( ) ,
128154 svelte ( ) ,
129155 serviceWorker ( {
130- workbox : { inlineWorkboxRuntime : true } ,
156+ workbox : {
157+ inlineWorkboxRuntime : true ,
158+ runtimeCaching : [
159+ {
160+ urlPattern :
161+ / \. (?: j s | c s s | j s o n | p n g | j p g | j p e g | s v g | w o f f 2 ? | t t f | e o t | g i f ) $ / ,
162+ handler : "CacheFirst" ,
163+ options : {
164+ cacheName : "assets-cache" ,
165+ expiration : {
166+ maxEntries : 100 ,
167+ maxAgeSeconds : 60 * 60 * 1 , // 1h
168+ } ,
169+ } ,
170+ } ,
171+ {
172+ urlPattern : / \. h t m l $ / ,
173+ handler : "NetworkOnly" , // ⛔ Don't cache HTML
174+ } ,
175+ ] ,
176+ } ,
131177 } ) ,
132178 ...( fastBuild
133179 ? [ ]
@@ -152,7 +198,6 @@ export default defineConfig({
152198 domains : [ "programme.europython.eu" , "placehold.co" ] ,
153199 } ,
154200 prefetch : {
155- prefetchAll : true ,
156- defaultStrategy : "load" ,
201+ prefetchAll : false ,
157202 } ,
158203} ) ;
0 commit comments