The app wasn't scoring that well on Lighthouse due to a variety of small low-hanging fruit optimizations that were missing (like gzipping js and css) and cache policies. This change addresses most of those and updates frontend dependencies while we're at it.
The following examples are for an album with ~5000 photos on a DS418play (warm caches).
Photofield Lighthouse performance score was 76 before the optimizations
Adding these smaller optimizations makes it much better, even scoring 100 on the performance metric.
Photofield Lighthouse performance score is 100 after optimizations
For reference, here is the same album with Google Photos (yes, it's slower!).
The app wasn't scoring that well on Lighthouse due to a variety of small low-hanging fruit optimizations that were missing (like gzipping js and css) and cache policies. This change addresses most of those and updates frontend dependencies while we're at it.
The following examples are for an album with ~5000 photos on a DS418play (warm caches).
Adding these smaller optimizations makes it much better, even scoring 100 on the performance metric.
For reference, here is the same album with Google Photos (yes, it's slower!).