Category: Optimization

Minify HTML in CodeIgniter using Hooks

In this article, I will show how to minify HTML output using CodeIgniter framework. By removing unnecessary characters and lines in HTML code such as indentation, comments, empty lines, etc., you can save download file size without affecting the output but also improving the performance.

Page Caching to Improve Website Performance

A web cache is an approach for the temporary storage (caching) of web documents, such as HTML pages and images, to reduce bandwidth usage and server load. The content of a webpage can be stored in a file temporarily so that every time server receives a request, it doesn't need to process time and again.