Category Archives: internet - Page 2

Achieving what W3 Total Cache does for your non-WordPress site

Before implementing this tips, your server/web host had to use Apache and activated all modules needed as I already posted.
W3 Total Cached had a good .htacess settings that will made your site/blog score higher in Google Page Speed and YSlow. I noticed that these .htaccess settings is quite generic and can be implemented in non-blog, non-Wordpress site.
Here’s the .htaccess settings that you need to copy and paste to your site’s .htaccess:

What it does?

  • enabling gzip compression, your site’s HTML codes will be compressed on-the-fly before served to users/visitors
  • minifying CSS, JS and HTML files from your site
  • add expiry header to your files based on file types
  • set ETag value
  • Specify a Vary: Accept-Encoding header

I’ve implemented this on mp32u.net, the result is as expected.

W3 Total Cache: score higher in PageSpeed and YSlow for your wordpress blog

On previous posts, I talked about enabling gzip compression and image compression on-the-fly for your WordPress blog. These two tips will reduce your blog size and eventually speeding up your blog page load time. In result, your blog will score higher in Google Page Speed and Yahoo YSlow scoring.
By installing W3 Total Cache plugin, you’ll achieve higher score. I can see that this plugin put some nice .htaccess settings for your blog that will make your blog score higher. W3 Total Cache tweaks some valuation components in Page Speed and YSlow valuation such as: minify CSS, JS and HTML; enabling gzip compression, ETag, Vary: Accept-Encoding header and specify cache validator.

Ahosto.net score result after implementing those three tips:

ahowto reduce page size

Reduce page size

ahowto score

Score higher!

Even slimmer WordPress Blog using WP Smush.it

In my previous post about enabling Gzip compression in your site via control panel, the trick will slimming down your wordpress blog size and eventually speeding up your site load time. Faster page load time means higher score in Page Speed and YSlow!

Here’s another step to make your wordpress blog slimmer: install WP Smush.it

After installing and activating the plugin, you can access it via wordpress menu “Media–>Library

This plugin will trimming down your image size based on Yahoo Smush.it technology. WP Smush.it will work on-the-fly when you are successfully uploading an image. Wp Smush.it also can work on-demand, means you can manually “smush” your images. By accessing menu “Media–>Library”, you can see how much space WP Smush.it save you per-image basis.

wp smush.it result

There’s a lot of saving in PNG image format (more than 20% saving) and basically below 10% saving for JPG image format (JPG format is already compressed and lossy, so, this is normal).

Reduce your image size on-the-fly, save hard disk space and gain faster page load time FOR FREE! How can you miss this offer.

Send free SMS to Indonesian mobile phone number via GMail

This feature is not new, I don’t know when Gmail begin to support Indonesian mobile phone provider but it’s quite old. GMail gave you 50 SMS credits to any mobile phone number worldwide (not only Indonesia) but not all mobile phone provider is supported.

Quite straight forward:

  • Ask your Indonesian colleague (like me 😀 ) their mobile phone number and ask them what’s their mobile phone provider name. The mobile phone number should be like this (for example): 08985557x7x. Replace the first zero with Indonesia country code, so it become like this: +628985557x7x
  • Make sure the provider name is supported: Axis, Indosat, Telkomsel, Tri and XL. I, myself, had confirmed that the SMS arrived almost instantly to Telkomsel and Tri number. I’ve failed to send to XL number but maybe it’s just me or telecommunication network error.
  • Login to GMail and enter the mobile phone number to your “Chat and SMS“/”Ngobrol dan SMS” box. Give the number a contact name and save it.

Chat and SMS in GMail

  • Now you can begin to send SMS to that number. Your SMS with recipient will shown just like your usual chat with Google contact (gtalk).

gmail sms chat window

  • GMail will append your SMS messages with your email address and your recipient can reply to the SMS directly (to Gmail number), you’ll received it as chat message, if you are not online when reply arrived, GMail will convert it to email message.

As I said before, Gmail only give you 50 credits, it will decreased each time you send SMS (140 chars = 1 credit, if your message is 160 chars long it will be count as 2 credits). To refill this credit, your SMS recipient number have to reply to your SMS.

A good news for Tri users in Indonesia (like myself :) ), there’s no charge whatsoever when you replied to SMS that sent by Gmail. Telkomsel will charge you some credits if you reply the SMS from Gmail. I don’t know with other supported providers whether they will charge you or not.

Enable gzip compression via CPanel

As you know, improving user experience when accessing your site/blog by speeding up your website load time is important. Smaller website size (not screen size but size as in file size) will deliver much faster website load time. To achieve smaller website size, you need to activate gzip compression on your server. Basically, your web server will “zip” your content before deliver it to visitors. Visitor’s browser will then decompress and show the original content to your visitor on the fly!

Gzip compression also had great weight in Google PageSpeed and Yahoo YSlow valuation. So, make sure you enable this on your website server to achieve high grade on both test platform.

If you are on shared server with CPanel as your web hosting control panel, you no need to bother meddling with web server (such as Apache) configuration. Most of shared web hosting server already had gzip compression enabled on the server scope. BUT the effect is per-site basis and it is not enabled by default for each website. You need to activate it manually. Here’s an easy way to activate gzip compression for your website via CPanel.

  • Login to your CPanel, obviously. 😛
  • Access “Optimize Website” menu under “Software/Service” icon group.

cpanel software/service icon group

  • Choose “Compress all content” then click “Update Settings” .. you are done.

cpanel optimize website command feature

You can re-test your website performance on Page Speed and YSlow, you will  find that your score on “Enable gzip compression”(Page Speed) / “Compress components with gzip”(YSlow) will increase.

pagespeed gzip compression score