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:39]
Erwin Venekamp [Insufficient caching]
litespeed_wiki:ttfb [2018/11/12 16:40]
Erwin Venekamp [Insufficient caching]
Line 18: Line 18:
 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. This is especially beneficial if your website has many database queries that can't be avoided or reduced. 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. This is especially beneficial if your website has many database queries that can't be avoided or reduced.
  
-LiteSpeed offers ​caching ​plugin ​for many popular CMSes: [[litespeed_wiki:​cache:​|LiteSpeed Cache]]. +LiteSpeed offers ​one of the most effective ​caching ​plugins ​for many popular CMSes: [[litespeed_wiki:​cache:​|LiteSpeed Cache]].
 ===== Slow databases ===== ===== Slow databases =====
 For database-driven websites, a high TTFB can be caused by a slow database. There can be several reasons for this: most commonly, either very old versions of MySQL, or lack of configuration tuning. Occasionally,​ it also happens when the latency on remote database servers is too high. It's strongly recommended to use the newest version of MySQL available to you, as each release brings major performance improvements,​ and to consider optimizing your configuration using such tools as http://​mysqltuner.pl For database-driven websites, a high TTFB can be caused by a slow database. There can be several reasons for this: most commonly, either very old versions of MySQL, or lack of configuration tuning. Occasionally,​ it also happens when the latency on remote database servers is too high. It's strongly recommended to use the newest version of MySQL available to you, as each release brings major performance improvements,​ and to consider optimizing your configuration using such tools as http://​mysqltuner.pl
  • Admin
  • Last modified: 2018/11/12 16:43
  • by Erwin Venekamp