Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88e9d0f7c5 | ||
|
|
059fc7f8c0 |
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "siteforge",
|
"name": "siteforge",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.36.1",
|
"version": "2.36.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ export default defineConfig({
|
|||||||
options: { cacheName: 'api-content', expiration: { maxAgeSeconds: 3600 } },
|
options: { cacheName: 'api-content', expiration: { maxAgeSeconds: 3600 } },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
urlPattern: /\/images\//,
|
urlPattern: /\/images\/.*\.(?!mp4|webm|mov)[a-z0-9]+(\?.*)?$/i,
|
||||||
handler: 'CacheFirst',
|
handler: 'CacheFirst',
|
||||||
options: { cacheName: 'images', expiration: { maxEntries: 60, maxAgeSeconds: 86400 * 30 } },
|
options: { cacheName: 'images', expiration: { maxEntries: 60, maxAgeSeconds: 86400 * 30 } },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user