F
Filamentβ€’3mo ago
Garadit

How is demo.filamentphp.com deployed?

I was wondering how filamentphp deploys their demo site because it feels so fast when accessed. For comparison, I use aaPanel (nginx) on a VPS with 8GB RAM. It takes 3.09 seconds just to load the default dashboard page without dynamic widgets. While demo.filamentphp.com only takes 900ms to load the dashboard containing dynamic tables. So, is the demo using a container or using a panel-based service like cPanel, Plesk, etc.?
5 Replies
Dennis Koch
Dennis Kochβ€’3mo ago
I guess it's a small VPS managed through Forge? 3s sounds like you don't have OPCache turned on
Garadit
Garaditβ€’3mo ago
Thanks for the answer. I have experimented with using containers in Docker as well as with PHP installed on the system via aaPanel. In both I have the OPCache extension enabled. Docker + Nginx = 1.5s aaPanel + Nginx = 3s Still not as fast as demo.filament.com, but shows significant results.
Sjoerd24
Sjoerd24β€’3mo ago
Caching filament components and icons helps a lot. Just follow all the tips mentioned above. πŸ‘†
Garadit
Garaditβ€’3mo ago
I've tried both ways, from optimize:cache and creating a filament view cache, and the result is about 1 second. I'm okay with that, compared to 3 seconds before. It could be less than a second if the ping to my VPS is less than 200ms.
Want results from more Discord servers?
Add your server