Category: Optimization

Optimization is necessary to use the standard practises to develop the technology. In websites, we optimize from server to small bit of code. All is try to covered under this category.

Using PHP script to delete a multiple files

This is short php script to delete files file by file in a loop. To do deletion with PHP, use this little PHP script: $dir = “/directory/”; $dh = opendir($dir); $i = 0; while (($file = readdir($dh)) !== false) {…

Tools for Optimizing Images

smush.it!: smush.it! makes optimization of your images a breeze. Created by Stoyan Stefanov and Nicole Sullivan, smush.it! is a tool that is available as a Firefox extension, a bookmarklet, or as a simple web-based application (hosted by Yahoo!). RIOT: RIOT…

Check PageSpeed

There are many free tools out there for checking how long it takes to load your website. Here are a few of them: Pingdom – offers an easy-to-use site speed test that mimics that way a page is loaded in…

eAccelerator

What is eAccelerator ? eAccelerator is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost…

TIPS

Check HTTP Connections The following may indicate if you’re getting slammed by one host. It should display all current connections to port 80 ordered by count netstat -anp |awk ‘/:80/ {print $5}’ | cut -d: -f1 | sort | uniq…