Files
grimmory/frontend/ngsw-config.json
T
brios 68d0b26716 fix(pdf): improve PDF blob handling and improve viewer destruction logic (#506)
* fix(pdf): improve PDF blob handling and improve viewer destruction logic

* fix(pdf):  PDF annotation saving logic and improve responsive design for mobile

* fix(pdf): improve PDF fetching (once again) and caching logic to improve performance and reduce network requests

* fix(pdf): hide footer and notification elements in PDF viewer

* fix(pdf): improve loading behavior and improve annotation persistence logic

* fix(pdf): improve PDF annotation persistence with retry mechanism and logging

* fix(pdf): improve PDF annotation saving with raw fetch and improved error handling

* fix(pdf): cap highlight opacity and adjust rendering for small viewports
2026-04-22 17:27:35 -04:00

50 lines
1008 B
JSON

{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"navigationUrls": [
"/**",
"!/api/**",
"!/komga/**",
"!/assets/embedpdf-frame.html"
],
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/assets/favicon.svg",
"/index.csr.html",
"/index.html",
"/manifest.webmanifest",
"/*.css",
"/*.js"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
]
}
}
],
"dataGroups": [
{
"name": "api-passthrough",
"urls": ["/api/**"],
"cacheConfig": {
"strategy": "freshness",
"maxSize": 0,
"maxAge": "0u",
"timeout": "0u"
}
}
]
}