mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
chore: fetching & caching vehicles data information
This commit is contained in:
@@ -33,6 +33,13 @@ export default defineConfig({
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
urlPattern: /^https:\/\/stacjownik.spythere.eu\/vehicles/i,
|
||||
handler: 'StaleWhileRevalidate',
|
||||
options: {
|
||||
cacheName: 'spythere-vehicles-cache'
|
||||
}
|
||||
},
|
||||
{
|
||||
urlPattern: /^https:\/\/static.spythere.eu\/.*/i,
|
||||
handler: 'CacheFirst',
|
||||
|
||||
Reference in New Issue
Block a user