- sw.js: Network-First 캐시 전략 (GET + same-origin + res.ok만 캐시) - tkfb-core.js: SW 등록 + 업데이트 감지 시 자동 새로고침 (최초 설치 시 토스트 방지: controller 체크) - manifest.json: start_url → dashboard-new.html - nginx: sw.js, manifest.json no-cache 헤더 - 배포 시 sw.js의 APP_VERSION만 변경하면 전 사용자 자동 갱신 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
594 B
JSON
25 lines
594 B
JSON
{
|
|
"name": "TK 공장관리 - 테크니컬코리아",
|
|
"short_name": "TK공장",
|
|
"description": "테크니컬코리아 공장관리 시스템",
|
|
"start_url": "/pages/dashboard-new.html",
|
|
"display": "standalone",
|
|
"background_color": "#ffffff",
|
|
"theme_color": "#1e40af",
|
|
"orientation": "any",
|
|
"icons": [
|
|
{
|
|
"src": "/img/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/img/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
]
|
|
}
|