Portfolio
cache control

[WP] W3 Total Cache settings with Cloudflare GUIDE

October 12, 2015Category : Code/Web

W3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed.  It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC  improves the user experience of your site by increasing web server performance by reducing..

Read more
01.

[WP] Gzip cho css,js

January 24, 2010Category : Code/Web

– Thay file style.css thành style.css.php. Mục đích là để chèn code php vào – Chèn đoạn code sau vào trên cùng của file vừa đổi tên <?php ob_start (“ob_gzhandler”); header(“Content-type: text/css; charset: UTF-8”); header(“Cache-Control: must-revalidate”); $offset = 60 * 60 ; $ExpStr = “Expires: ” . gmdate(“D, d M Y H:i:s”, time() + $offset)..

Read more
02.
© Oliver / All rights reserved.
To top