TC
Twill CMSβ€’12mo ago
beardcoder

Slow response time in production

Hello together. my frontend and backend has a real bad response time on the production server. 800 - 1000ms have anyone a tipp for a laravel/ twill beginner πŸ™‚ APP_ENV is production and DEBUG is false
4 Replies
kallefrombosnia
kallefrombosniaβ€’12mo ago
Hello, can you be more specific on this? Is Twill CMS slow or your data fetching / rendering is slow on the frontend?
beardcoder
beardcoderβ€’11mo ago
The conplete app is slow. Twill and the Frontend rendering on the production server. Local says the debug bar 80ms in the frontend. On production 400-800 πŸ₯Ί
ifox
ifoxβ€’11mo ago
How/where are you hosting your production deployment? Twill itself is plenty fast on a $5 VPS, fwiw
kallefrombosnia
kallefrombosniaβ€’11mo ago
Its something deploy/ hosting/ content delivery based issue. We are running a lot of Twill projects, even ones with lot of blocks, and no issues so far with < 1.5s max load time. Ofc tweaks are applied depeding on usage, but all of the standard ones (CDN delivery, composer optimize autoload, caching specific parts of the CMS for the FE with custom cache buster, compiling assets...). For high network apps, we use loadbalancers etc.