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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user