HTML Optimization
HTML Optimization means to reduce the length of web page contents by eliminating extra non required white spaces. This may also help in boosting the load speed. The benefit of optimized pages is that they consume lower bandwidth and load faster due to fewer contents as compared to the original.
PTSource WebFast
PTSource WebFast is a script that safely reduces and optimizes the size of your html code boosting the load speed in the manner that pages consume lower bandwidth. Once included, PTSource WebFast automatically installs a handler for HTML output that optimizes the HTML output and replaces it with the optimized version. No additional coding is required.
How to install
- Include the code bellow at the top of your index.php.
<?php $no_context = true; $use_js = false; include('webfast.php'); ?>
Requirements
Developed using php 7.4.5 but it should work with any php version.
Note : All software tutorials always refer and are updated to reflect the latest version.
If you liked this project fell free to share it.