Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:ttfb [2018/11/12 16:32]
Erwin Venekamp [High resource usage]
litespeed_wiki:ttfb [2018/11/12 16:38]
Erwin Venekamp [Many queries]
Line 13: Line 13:
  
 ===== Many queries ===== ===== Many queries =====
-Your TTFB may be high if your website makes very many database queries, or consists of very unoptimized application code (such as PHP). A common example of this is WordPress websites that use dozens of plugins. If possible, look into reducing the workload for your application. Caching ​may also help alleviate thisconsider using [[litespeed_wiki:​cache:​|LiteSpeed Cache]] ​if you aren't already.+Your TTFB may be high if your website makes very many database queries, or consists of very unoptimized application code (such as PHP). A common example of this is WordPress websites that use dozens of plugins. If possible, look into reducing the workload for your application ​by disabling plugins or unnecessary features. 
 + 
 +===== Insufficient caching ===== 
 +Caching ​is a good idea for almost all database-driven applications:​ serving a cached version of a dynamic page will lead to a vastly reduced workload, and improved TTFB. 
 + 
 +LiteSpeed offers a caching plugin for many popular CMSes: [[litespeed_wiki:​cache:​|LiteSpeed Cache]].
  
 ===== Slow databases ===== ===== Slow databases =====
  • Admin
  • Last modified: 2018/11/12 16:43
  • by Erwin Venekamp