Léo
Léo
FFilament
Created by Léo on 3/26/2024 in #❓┊help
Performances issues when Filament goes in production
@toeknee
9 replies
FFilament
Created by Léo on 3/26/2024 in #❓┊help
Performances issues when Filament goes in production
No description
9 replies
FFilament
Created by Léo on 3/26/2024 in #❓┊help
Performances issues when Filament goes in production
@toeknee with telescope i can confirm that one request on api.x.com/api/vx/ use more ressources on a health endpoint with Filament Memory usage 48.5 MB without Filament Memory usage 44 MB :/
9 replies
FFilament
Created by Léo on 3/26/2024 in #❓┊help
Performances issues when Filament goes in production
thanks for reply @toeknee ! yes all endpoints uses api routes on api.x.com/api/vx/....... filament is served on filament.x.com/ not api.x.com/admin/ here my provider
return $panel
->id('pantry')
->domain(config('admin.domain'))
->default()
->authGuard('web')
->login()
->colors([
'primary' => Color::hex('#0041d9'),
])
->discoverResources(in: app_path('Filament/Admin/Resources'), for: 'App\\Filament\\Admin\\Resources')
->discoverPages(in: app_path('Filament/Admin/Pages'), for: 'App\\Filament\\Admin\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Admin/Widgets'), for: 'App\\Filament\\Admin\\Widgets')
->widgets([])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
]);
return $panel
->id('pantry')
->domain(config('admin.domain'))
->default()
->authGuard('web')
->login()
->colors([
'primary' => Color::hex('#0041d9'),
])
->discoverResources(in: app_path('Filament/Admin/Resources'), for: 'App\\Filament\\Admin\\Resources')
->discoverPages(in: app_path('Filament/Admin/Pages'), for: 'App\\Filament\\Admin\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Admin/Widgets'), for: 'App\\Filament\\Admin\\Widgets')
->widgets([])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
]);
9 replies