How to Speed Up Loox Reviews on Shopify Without Losing Photo Testimonials
Stop Loox from degrading your product page speed. Learn how to defer photo carousels and preserve instant mobile buy button responsiveness.
Target Asset / Metric
loox.js / loox-carousel.js
Average Uncompressed Payload
220 KB - 380 KB
Main Thread Latency Penalty
400ms - 800ms Blocking Time
1. The Technical Problem
Loox's photo review widgets download dozens of thumbnail images and modal viewer scripts synchronously during initial page compilation.
Photo carousels compete directly with your hero product imagery for bandwidth on mobile connections, causing LCP to spike from 1.8s to over 4.5s.
2. Engineering Resolution Strategy
1. Lazy load Loox photo carousels below the fold. 2. Enforce WebP image compression for review images. 3. Serve inline static star ratings on collection and product cards.
<!-- Loox Dynamic On-Scroll Injection -->
<script>
window.addEventListener('DOMContentLoaded', function() {
var looxWidgets = document.querySelectorAll('#looxReviews, .loox-rating');
if (!looxWidgets.length) return;
var loaded = false;
function loadLoox() {
if (loaded) return;
loaded = true;
var s = document.createElement('script');
s.src = 'https://loox.io/widget/YOUR_LOOX_ID/loox.js?h=YOUR_STORE_HASH';
s.async = true;
document.body.appendChild(s);
}
window.addEventListener('scroll', loadLoox, { once: true, passive: true });
setTimeout(loadLoox, 3500);
});
</script>💡 Pro-Tip: Always create a duplicate theme backup before editing theme.liquid or snippet files.
Frequently Asked Questions
Will social proof photo popups still display?
Yes, once the lightweight script loads on scroll or after 3.5 seconds, all photo reviews render crisply.
Does Loox support next-gen WebP?
By default Loox serves JPEG photos; our Turnkey Sprint configures automatic proxy caching for WebP conversions.