We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfceaa commit 6789666Copy full SHA for 6789666
1 file changed
static/game_worker.js
@@ -237,7 +237,7 @@ self.addEventListener('fetch', event => {
237
// Choose caching strategy based on request type
238
if (isCacheableRequest(request)) {
239
// For most game assets, use time-aware cache-first
240
- if (request.url.includes('/games/game-')) {
+ if (request.url.includes('game-')) {
241
event.respondWith(timeAwareCacheFirstStrategy(request));
242
}
243
// For HTML and JSON files, use network-first to get latest versions
0 commit comments