Slow Initial Page Load Time Despite Cache Clearing and Setting in Filament Demo

Issue: When attempting to clear and set the cache for the Filament demo on GitHub, there persists a significant delay in loading the initial page, taking over 40 seconds. Despite cache clearing and reconfiguration, the issue persists, impacting the user experience. Steps to Reproduce: 1. Clone the Filament demo repository: git clone https://github.com/laravel-filament/demo.git filament-demo && cd filament-demo 2. Install dependencies: composer install --ignore-platform-req=ext-pcntl --ignore-platform-req=ext-posix 3. Copy the environment file: cp .env.example .env 4. Generate a Laravel application key: php artisan key:generate 5. Migrate the database: php artisan migrate 6. Seed the database: php artisan db:seed 7. Create a symbolic link to storage: php artisan storage:link 8. Clear and set the cache:
php artisan o:c
php artisan view:cache
php artisan route:cache
php artisan icons:cache
php artisan filament:cache-components
php artisan event:cache
php artisan config:cache
php artisan optimize

php artisan o:c
php artisan view:cache
php artisan route:cache
php artisan icons:cache
php artisan filament:cache-components
php artisan event:cache
php artisan config:cache
php artisan optimize

Observation: Despite the cache clearing and reconfiguration process, the initial page load time remains slow, taking over 40 seconds. Subsequent page loads show improved performance, indicating a potential caching issue during the initial load. Video Recording: Link to Video Seeking insights and suggestions to identify potential reasons for the slow initial page load time despite cache management efforts. Any assistance in troubleshooting and resolving this issue would be greatly appreciated. PS: This is also posted on filament github: https://github.com/filamentphp/filament/issues/12751 And filament demo github: https://github.com/filamentphp/demo/issues/102 Thanks!
GitHub
Slow Initial Page Load Time Despite Cache Clearing and Setting in F...
Package filament/filament Package Version 3.0.0 Laravel Version v11.0 Livewire Version 3.0.0 PHP Version 8.3.0 Problem description When attempting to clear and set the cache for the Filament demo o...
GitHub
Slow Initial Page Load Time Despite Cache Clearing and Setting in F...
When attempting to clear and set the cache for the Filament demo on GitHub, there persists a significant delay in loading the initial page, taking over 40 seconds. Despite cache clearing and reconf...
1 Reply
Dan Harrin
Dan Harrin7mo ago
I appreciate you bringing this up but I can't reproduce the problem, so I have converted it to a discussion its definitely something in your environment another idea: have you tried switching the font driver from bunny fonts to google fonts? sometimes people have network issues there
Want results from more Discord servers?
Add your server