Fix Safari/iPhone performance issues - remove 300ms click delay

- Added touch-action: manipulation CSS to eliminate 300ms tap delay
- Optimized service worker to skip cross-origin requests
- Updated viewport settings to prevent iOS delays
- Added format-detection meta tag
- Enabled Next.js performance optimizations
- Created comprehensive performance fix documentation
This commit is contained in:
2025-12-03 20:54:55 +00:00
parent bfe49e7211
commit 509de75e1a
5 changed files with 196 additions and 3 deletions

View File

@@ -60,6 +60,11 @@ self.addEventListener('fetch', (event) => {
if (!url.protocol.startsWith('http')) {
return;
}
// Skip cross-origin requests for performance
if (url.origin !== self.location.origin) {
return;
}
// Handle authentication-related requests
if (isAuthRequest(url)) {