I've got a few websites that are getting a failing mark on First Byte Time on webpagetest.org and other page speed/load time tests, and I am wondering what settings in Litespeed we should tweak (and to what parameters) to optimize this further?
can you do tests on a specific web site to illustrate the issue accurately ?
using webpagetest.org as test tool
1. under apache, the TTFB (Time To First Byte)
2. under litespeed, the TTFB which not from cache (without response header: X-LiteSpeed-Cache:hit)
3. under litespeed, the TTFB which from cache (with response header: X-LiteSpeed-Cache:hit)
tried to cache, but faild. so same result as "Litespeed without Cache"
only see headers like:
but not see
most likely cache root for the website has problem.
ask your host to check the cache root for this website. in WHM/cPanel, default setting is /home/username/lscache.
#ls -l /home/username/lscache
A-ha! Found what it was... the cache files in /home/username/lscache folder were old and not updated with the new files, for whatever reason... or something was off. So I deleted that folder and all the content in it, re-enabled the latest LSCache, and voila - first byte time went from an F to an A.