Google Analytics

Pages

Monday, June 28, 2010

optimising jquery

Lazy post, as it is just a link to an excellent article about how to optimise jquery.

Although I spent a fair amount of time going through great tips.

Thursday, June 24, 2010

getting rid of attributes (e.g.: witdth & height)

Here is a handy small piece of php code which get rid of specific tag attributes (width and height in the example below)

$html = preg_replace("#(width|height)=[\'\"](\d)+[\'\"]#ies","",$html);

Monday, June 14, 2010

keywords driving traffic

I cam across a website today which could be a great tool for keywords research: http://www.keyrow.com

I have checked a couple of the websites I run, and the keywords returned by keyrow are the the keywords driving most of the traffic to my websites indeed...

This makes it a killer tool for keywords research!

Saturday, June 12, 2010

Performance tools for your website

Here are a couple of tools quite useful and easy to use for website performance testing.

1) iMacro
This is a great Firefox plug-in to help you create macros, and set easily testing scenarios. It is quite straightforward to add stopwatch and record results in a CSV file. See the wiki section about stopwatch feature.

2) YSlow
This firefox plugin gives a page performance report, scoring various elements of your page, and suggesting ways to improve load speed.

2) Online website stress testing.
Loadimpact.com is a great resource to test your site under stress (free version provides results for up to 50 concurrent users loading a page of your website).

Note: Yahoo has published a great page about website performance, available here. You can also have a look at this article, which provides additional information.

Friday, June 04, 2010

Set up tidy on Fedora

Here is a list of command lines to install tidy on a Fedora Box.
yum list available | grep tidy

if it shows something like php-tidy.x86-64 type:
yum install php-tidy

after this /etc/init.d/http restart

and you're done...

Share it