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•2y ago
Hello, can you be more specific on this? Is Twill CMS slow or your data fetching / rendering is slow on the frontend?
beardcoder
beardcoderOP•2y 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•2y ago
How/where are you hosting your production deployment? Twill itself is plenty fast on a $5 VPS, fwiw
kallefrombosnia
kallefrombosnia•2y 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.

Did you find this page helpful?