filamentphp file upload slow and doesn't turn green

4 days ago 9
ARTICLE AD BOX

I’m running into a weird performance issue and could really use some insight.

I’m working with Laravel + @filamentphp and trying to upload a ~6MB CSV file and then process/save its contents into the database on localhost.

Here’s the strange part:

When I use Filament’s FileUpload (FilePond) component, the upload takes forever (literally hours) and sometimes never finishes loading.

When I use a plain HTML <input type="file"> with a normal form post, the same file uploads in milliseconds and processes just fine.

I am using Herd.

So now I’m confused :thinking:

Why is Filament’s upload so much slower compared to plain HTML?

Are there specific Filament or Livewire configs I should tweak for large CSV uploads?

Or is Filament just not ideal for heavy file imports, and a hybrid/plain upload approach is recommended?

Any explanations, best practices, or real-world experiences would be greatly appreciated :pray:

Read Entire Article