Use PHP Flush To Improve Site Loading Speed
- Updated On 17/04/2017
- Author : Pradeep Kumar
- Topic : Tips and tricks
- Short URL : https://hellboundbloggers.com/?p=21777
CONNECT WITH HBB ON SOCIAL MEDIA
Ever since Google started to consider site speed for search rankings, webmasters and bloggers started to improve site loading speed.
You can check the best tools to improve site loading speed, FYI, you can also use Google Analytics to check site speed.
Why To Add PHP Flush Function?
PHP function flush() allows you to send your partially ready HTML response to the browser so that it will start to fetch the components while your backend is still busy with the rest of the HTML page. You can experience this effect when you have busy backends or light frontends.
Though the speed increase will actually depend on the server-side processing, page weight, and size of your CSS files. It is a simple optimization, and nothing wrong in doing it.
Where To Add PHP Flush Function?
<?php flush(); ?>
This is a simple tweak, and do tell us if this works for you.
Want to discuss your queries and interact with experts? You can connect with HellBound Bloggers (HBB) Facebook group for free!
Join HellBound Bloggers (HBB) and get Instant Updates. We'll also notify you with Great Deals, Discounts and other Interesting Tips. We won't SPAM or SHARE your Email Address with anyone.
YOU CAN ALSO SEARCH FOR YOUR DESIRED TOPICS:
Thank you for reading! We welcome and appreciate your comments, but at the same time, make sure you are adding something valuable to this article. If you have any serious queries, suggestions or anything related to this article, feel free to share them, we really appreciate that.
But, if your blog comments are a random "Thank you", "Useful Post", or anything that doesn't actually upscale the article, then we'll be removing them and it won't be appeared below. Thanks for understanding and thanks for connecting with us. If you want to give us any feedback or report any errors, you can kindly contact us and we'll revert back soon.
- Facebook Comments
31 CommentsFacebook Comments