Livewire is an amazing piece of technology. In this post, I'd like to show you a simple technique where Livewire can help to improve your initial page load time significantly. Fetching stuff from S3 can decrease initial page load time https://ohdear.app is the all-in-one-monitoring tool I've built that features all sorts of checks: uptime, SSL certificate, scheduled jobs, broken links, and more.

By fetching the HTML report like this, the first time we display the page, the initial page load time will be long, as we need to copy the report from S3, which takes a few seconds.

Our initial page load is now very fast, because we're not fetching the HTML report from S3 anymore.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners