# Delayed Display of Isolated PDFs With Fly-replay and Livewire

**URL:** <https://forum.devtalk.com/t/delayed-display-of-isolated-pdfs-with-fly-replay-and-livewire/93154>\
**Category:** Blogs/Articles/Talks/Podcasts\
**Tags:** laravel, php, livewire, flyio, blog-post\
**Created:** [23 January 2023 21:25 UTC](https://forum.devtalk.com/t/delayed-display-of-isolated-pdfs-with-fly-replay-and-livewire/93154 "2023-01-23T21:25:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kathrynannetan](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@kathrynannetan](https://forum.devtalk.com/u/kathrynannetan)\
**Post date:** [23 January 2023 21:25 UTC](https://forum.devtalk.com/t/delayed-display-of-isolated-pdfs-with-fly-replay-and-livewire/93154/1 "2023-01-23T21:25:01Z")

</div>

Can we have multiple servers running our Laravel application across regions of the world, and still store our files “locally” with Laravel’s [‘Local’ storage driver](https://laravel.com/docs/9.x/filesystem#the-local-driver)?

Good news, because yes, we can! We no longer have to rely on external storage services to host our files for us. Instead, we’ll just have to “talk” to the right server/instance running our application.

In my latest blog post we drop in a quick call to [Fly.io](https://fly.io/)’s [fly-replay response header](https://fly.io/docs/reference/regional-request-routing/#the-fly-replay-response-header) in order to easily talk to the instance containing a specific PDF file. Afterwards, we make use of [Livewire](https://laravel-livewire.com/)’s [wire:init](https://laravel-livewire.com/docs/2.x/defer-loading) directive to allow our page to complete loading first before loading a PDF file to view.

> **[Delayed Display of Isolated PDFs with Fly-replay and Livewire](https://fly.io/laravel-bytes/displaying-fly-replay-livewire/)**
>
> The home for Laravel-oriented content on Fly.
