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

  • Upload webfast.php your website root.
  • If your first file is an index.html change it to index.php.
  • 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.

Download

We use cookies to personalize and enhance your experience on our site. By using our site, you agree to our use of cookies.
  More information about cookies