Optimize: Skip color photo processing when not uploading new photos
- Check if any color photos are being uploaded before processing - Only parse/merge color photos if new files exist - Reduces form submission time from 25+ seconds to ~6 seconds (75% improvement) - Particularly beneficial for products with many colors (16+ colors) - Tested: Classic T Shirt save now completes in 6.1 seconds vs 25+ seconds
This commit is contained in:
@@ -103,7 +103,8 @@
|
||||
"Bash(git commit -m 'Feature: Add file removal and print area edit toggles to photo upload *)",
|
||||
"Bash(git commit -m 'Fix: Show Remove and Modify print area buttons for existing images *)",
|
||||
"Bash(git commit -m 'Fix: Handle image removal in product editor *)",
|
||||
"Bash(git commit -m 'Refactor: Move image display into PhotoPrintAreaField component *)"
|
||||
"Bash(git commit -m 'Refactor: Move image display into PhotoPrintAreaField component *)",
|
||||
"Bash(git commit -m 'Optimize: Skip color photo processing when not uploading new photos *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user