Title: TTFB Time
Last modified: September 3, 2019

---

# TTFB Time

 *  Resolved [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/)
 * Hello,
 * I have TTFB issues on my web site. When I check via Gtmetrix first request takes
   3-4 seconds and Server waiting time is around 2-3 seconds all the time.
 * I have tried to decrease the size of my website and I decrease the requests and
   etc. I don’t know a lot about these website things but we have enough tried to
   solve these issues.
 * I have some possibilities for this server response time.
 * 1- Hosting – They said everything looks good from their size and they claim that
   they have less than half-second response time.
    2- Htaccess code – When I check
   the htaccess code It is full of writings from your plugin. It might cause the
   problem I think 3- SSL redirections. I use SSL plugin the redirect to the https
   and www. I have made a couple of thing with it but It doesn’t work. After you
   have a look, they are the next address that I am going to talk with. 4- Fewer
   plugins – I have 33 plugins and I deactivate the most of the plugins but I need
   22 of them. So after you will check the website I can even delete 11 of them.
   Or I will deactivate the active ones one by one.
 * I just need your quick look and maybe you can check my configurations and htaccess
   code, If I made something wrong with your plugin.
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fttfb-time%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11894338)
 * Hi,
 * If you check the header, you will see it shows “x-litespeed-cache: no-cache” 
   so basically you were testing a dynamic PHP page page instead of a cached page.
 * > [View post on imgur.com](https://imgur.com/wuJb5N7)
 * Please check your setting and log , the log should state why it set to no-cache.
 * Best regards,
 *  Thread Starter [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11895020)
 * Can you explain to me in details, please? I don’t understand too much about caching
   and etc.
 * This is my report code: TBYURFTW
 * It might be related to WPML plugin. When I deactivate WPML plugin somehow it 
   goes faster. Can you check if it is related with compatibility with WPML or maybe
   there is smt wrong with .htaccess code or some configurations with caching and
   etc.
 * I could not solve the problem. I don’t know much about this field so I had to
   search too much to understand you actually. Maybe, you can explain to me in details
   or maybe you can help me to discover the problem.
 * Thank you in advance.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11898005)
 * Normally our plugin is compatible with WPML and I found your site now get cache
   HIT and TTFB going down to around 0.5 to 0.7 second now, may I know is the problem
   solved?
 *  Thread Starter [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11899325)
 * When I deactivate the WPML plugin it is between 0,4-0,7s.
 * But when I activate the WPML It is between 1,5-2.0s. I don’t know what is the
   problem actually. Do you have any suggestion?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11902927)
 * Can you send us the [debug log](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:debug)
   after you re-enable WPML and browse the no-cache page?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11914708)
 * The debug log you sent out doesn’t include the frontend page. Could you try to
   follow these step to get the frontend log:
 * 1) Enable WPML
    2) Clear Cache 3) Clear Debug Log 4) Browse Frontend pages 5)
   Copy **all** the debug content to [https://gist.github.com](https://gist.github.com)
   or any online notes tools and send us the link.
 *  Thread Starter [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11918864)
 * **_[ DELETED ]_**
    -  This reply was modified 6 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11918869)
 * I would like to ask you, If there is a misconfiguration about smt please let 
   me know.
 * I feel that there is a compatibility issue about currency settings.
 *  Thread Starter [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11919043)
 * Something interesting happened. I have “Turkish” “English” and “Russian” pages.
 * When I check ” x-litespeed-cache-control” via GT Metrix, “russian” page is x-
   litespeed-cache-control- hit sometimes
 * “turkish” and “english” is showing x-litespeed-cache-control no-cache
 * Main currency is Ukrainian Hryvnia at the Russian page. I believe that the problem
   occurred because of the caching of currencies or smt else. What do you think?
   Why do all of my pages are not showing x-litespeed-cache-control hit?
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11919052)
 * [@elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
   Please do not post large code or responses like that here, it doesn’t work after
   ~10 lines or so.
 * If you need share that data please use [https://pastebin.com/](https://pastebin.com/)
   instead and post the link to that paste.
 *  Thread Starter [elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/)
 * (@elephantarchitecture)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11919482)
 * Hi,
 * I did not know that, sorry.
 * Here it is:
    [https://pastebin.com/2WL7pryf](https://pastebin.com/2WL7pryf)
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11929078)
 * Hi [@elephantarchitecture](https://wordpress.org/support/users/elephantarchitecture/),
   could you please [join our Slack channel](https://goo.gl/FG9S4N) or [submit a ticket here](https://store.litespeedtech.com/store/submitticket.php)
   for helping us to reproduce the bug, thanks!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘TTFB Time’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/ttfb-time/#post-11929078)
 * Status: resolved