Skip to content

Instantly share code, notes, and snippets.

@azazqadir azazqadir/
Created Sep 29, 2018

What would you like to do?
PHP Performance Optimization Tips
  • Consider using the swoole extension. Some applications can run 30 times faster. Be sure you understand how it works.

  • Use cache wherever possible in order to reduce the amount of DB queries. Optimize the DB queries too, these are often the performance bottleneck of any web application regardless of the stacks / frameworks that are used.

  • varnish for full page caching & redis for session caching but it’s the best choice IMO.

Read Tons of More Tips on PHP Performance Optimization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.