
Speed up a slow Laravel or PHP site: fix the 5 slowest spots
Delivery in
2 days
- Views 33
Amount of days required to complete work for this Offer as set by the freelancer.
Rating of the Offer as calculated from other buyers' reviews.
Average time for the freelancer to first reply on the workstream after purchase or contact on this Offer.
What you get with this Offer
Pages that take ages to open, an admin that hangs on a report, an API that times out when a few dozen people use it. In most Laravel and PHP apps the cause is a handful of queries, and the server is fine.
What I do:
- Profile the slow pages and queries with query logs, Laravel Debugbar or Telescope, and EXPLAIN
- Fix N+1 queries, add or rework indexes, and rewrite the heavy queries
- Add Redis caching where it actually helps
- Move slow jobs such as emails, exports and imports into background queues
What you get: fixes for the 3 to 5 slowest spots as a pull request, and a short report with load times measured before and after on the same data. You see measured numbers for your own app.
Works with Laravel and plain PHP on MySQL or PostgreSQL. I've worked with PHP 8 and Laravel through 6 years of commercial development, including Laravel 12 marketplaces and the admin of ArmadaBoost, a marketplace with around 100k users a month.
One thing to check first: if the site sits on shared hosting with no database access, tell me before ordering. I'll say straight away whether code changes will help or a server move is the better fix.
What I do:
- Profile the slow pages and queries with query logs, Laravel Debugbar or Telescope, and EXPLAIN
- Fix N+1 queries, add or rework indexes, and rewrite the heavy queries
- Add Redis caching where it actually helps
- Move slow jobs such as emails, exports and imports into background queues
What you get: fixes for the 3 to 5 slowest spots as a pull request, and a short report with load times measured before and after on the same data. You see measured numbers for your own app.
Works with Laravel and plain PHP on MySQL or PostgreSQL. I've worked with PHP 8 and Laravel through 6 years of commercial development, including Laravel 12 marketplaces and the admin of ArmadaBoost, a marketplace with around 100k users a month.
One thing to check first: if the site sits on shared hosting with no database access, tell me before ordering. I'll say straight away whether code changes will help or a server move is the better fix.
Get more with Offer Add-ons
-
I can set up background queues with Redis and Horizon, plus monitoring
Additional 1 working day
+$100 -
I can add Redis caching to your busiest pages and API endpoints
Additional 1 working day
+$80 -
I can deliver all work in 1 working day
+$60
What the Freelancer needs to start the work
Access to the code repository.
A staging server or an anonymised copy of the database.
A list of slow pages, endpoints or reports, with rough timings if you have them.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies