ItsAllAboutSomething
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:
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!4 replies
Trouble with Export/Import in Laravel Filament Admin Panel: 'Login Route Not Found' Error
Hi, I'm currently using the Laravel Filament admin panel for my application. I've been working on getting the export/import feature up and running smoothly. However, whenever I attempt to export or import a CSV, it seems to generate in the notifications. But then, when I try to download the file, it keeps throwing a 'login route not found' error.
SS: https://img.enacton.com/ShareX/2024/04/w4FMvKPUQJ.png
I've configured separate guards for authentication, one for admin and one for user panels. Additionally, I've ensured that the export/import policy is set to return true in the view function.
Furthermore, I've made sure to include
Export::polymorphicUserRelationship();
in the app service provider, and I've made all the necessary database changes.
Despite these efforts, I'm still stuck with the 'login route not found' issue when accessing export/import. Any suggestions on resolving this within the Laravel Filament admin panel?4 replies
Login Route error while exporting csv files or viewing validation errors during csv import.
So i have a laravel application and I want the export and import to be functional. What's happening is that Whenever I am trying to export or import the csv is generated in the notifications and when i try to download the file, it is saying the login route is not found.
Ref: https://img.enacton.com/ShareX/2024/04/w4FMvKPUQJ.png
I have two panels admin and user. For authentication i am using separate guards admin and user for both the pannels.
I have also specified the export/import policy to return true on view function.
Have also added
Export::polymorphicUserRelationship();
in the app service provider
And made respective database changes for this as well.
Still when I am tryin to access export/import I am getting login route not found.1 replies