PWaddict Posted March 3, 2016 Share Posted March 3, 2016 Hello, I'm thinking to buy ProCache very soon but before I do that I have one question. Can ProCache improve the "Time To First Byte" (TTFB) ? Thanks! Link to comment Share on other sites More sharing options...
horst Posted March 3, 2016 Share Posted March 3, 2016 More commonly, a very low TTFB is observed with statically served web pages, while larger TTFB is often seen with larger, dynamic data requests being pulled from a database. (https://en.wikipedia.org/wiki/Time_To_First_Byte) ProCache does serve static HTML files! PS: TTFB is meaningless 4 Link to comment Share on other sites More sharing options...
PWaddict Posted March 3, 2016 Author Share Posted March 3, 2016 Thank you horst for the answer. I already read that from Wikipedia but I'm looking for something more practically than theory. I did a test to check the difference on TTFB between a PW & HTML page. On a PW page (template cache) I'm getting 600-650ms and on the HTML version of that same page I'm getting ~550ms. So I guess if I buy ProCache I will get ~550ms but do you know if it's possible to get better results? Or the ~550ms is the best I can get since that was done with an HTML page? Link to comment Share on other sites More sharing options...
horst Posted March 3, 2016 Share Posted March 3, 2016 I suggest to read https://www.littlebizzy.com/blog/ttfb-meaningless, and especially look for TTLB (Time To Last Byte). IMO, TTFB is completly meaningless,the only thingthat matters is: how fast can a user read / see the content of a page. And if you read on Wikipedia TTFB_vs_Load_Time or the more in depth article why it is meaningless, you may see that this doesn't matter. One thing, what is described there for example, is, that if you use gzip compression for your html / js / css content, you get a higher TTFB, but the TTLB is 20-30% lower! But besides that, using ProCache is the fastest way to serve your content. It also includes a part that assist you to setup the server for gzip, caching etc, it can collect and minify your JS, CSS, and HTML files, and you completly ommit invoking the PHP engine and connecting to a DB. 7 Link to comment Share on other sites More sharing options...
PWaddict Posted March 3, 2016 Author Share Posted March 3, 2016 I didn't noticed your PS above. I will check it out. Thanks for the suggestion. 1 Link to comment Share on other sites More sharing options...
LostKobrakai Posted March 5, 2016 Share Posted March 5, 2016 Just got that on a local json endpoint using ProCache. TTFB is surely improved, but there's still data to download. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now