Crocs Malaysia Warehouse Sale

I have always been a fan of Crocs shoes because of their lightness, durability and the airy design. As someone who suffers from athlete’s foot since the teen years, airy means better air circulation and dryer feet.

Back in 2009 or 2010 we went to a Crocs warehouse sale in Ikano Power Center in Damansara. It was held in an empty unit next to the IT hypermarket at the top floor. We bought 5 pairs – two for myself and three for my son.

I bought myself an Olive Baya, and a Black Trailbreak.

For my son we bought him a Green Baya, a Batman Cayman and a Crocs Electro.

For other models than the Baya, links are from other websites as they no longer exist on the official website. Maybe they have been taken off production or something.

The purpose of this post is to make sure that if there is any more warehouse sale in the future, and if you’re going, you better thoroughly check the shoes you’re buying.

A few days back, my son was having trouble to put on the Crocs Electro on his left foot. That was weird, and at first I had a silly thought that his left foot has grown more than his right foot. I was surprised to see that the shoes, although marked with the same size, had the left one smaller than the other.

I don’t know how this happened but I’m not happy. Lucky for us we realize this before his feet were bruised more. It is not my intention to accuse anything at anyone but I have to admit that I am disappointed. Knowing Malaysia, we can’t return the shoes especially since it was bought in a warehouse sale. Heck, we can’t even return them if we buy them at retail price.

And of course, living in Malaysia I’m not excluding the possibilities of foul play. It’s how most businesses make maximum profit anyway…

You can see more pictures in the full post.

Continue reading Crocs Malaysia Warehouse Sale

Leverage Browser Caching

In the previous post I wrote about enabling compression for your pages so that they would load faster to the visitor. Today I’m going to write about how you can make use of browser caching to save some bandwidth.

Some people told me that their ISP or hosting provider requested that they upgrade the hosting plan or subscribe for more bandwidth. Since this site doesn’t have that much traffic, I wouldn’t know.

However recently I was able to help on a website which has a lot of visitors compared to this site. Around 14-18 visitors per minute on a working day and the bandwidth usage was very high, more than a gigabyte per day.

For the website, I saw that there were many requests for images (photos). The images aren’t that big anyway, around 100KB each but the amount of request made it significant.

Armed with knowledge of mod_expires, I added the following clauses to .htaccess while hoping that the server has the module installed. The following configuration is minimal, and Google Pagespeed actually suggests for 1 week.

<ifmodule mod_expires.c>
        ExpiresActive On
        ExpiresByType image/gif "access plus 2 hours"
        ExpiresByType image/png "access plus 2 hours"
        ExpiresByType image/jpg "access plus 2 hours"
        ExpiresByType image/jpeg "access plus 2 hours"
        ExpiresByType text/css "access plus 2 hours"
        ExpiresByType application/javascript "access plus 2 hours"
        ExpiresByType application/x-javascript "access plus 2 hours"
</ifmodule>

Although I know why Google Analytics set its expiry to 2 hours, it’s kind of amusing since the suggestion comes from another Google product. Oh well I am allowed to be amused right?

So let’s get to the results. Here are the bandwidth graphs from both days. I enabled mod_expires at around 6PM on 5 January 2012.

We can’t really see the difference by looking at the graphs. Google Analytics shows that there are at least 200 more visits on 6 January 2012. The numbers? Here you go:

At least 400MB were saved by this technique. You can actually put specific settings for each folder in your website. For example 2 hours is nice for cosmetic images which may need to be changed frequently but not for photos. For example if you run a photography website, you can even make your photos to expire in 1 year!

What mod_expires does is actually telling the browser that the resource (images) will expire on a specific date. It’s flexible enough to set the date from the access time. Here is the link to the official manual page for mod_expires.

Please be careful to note that this is not a quick solution for the lazy. You must think hard enough to set the proper amount of time before the images expire otherwise normal users will not see your changes or updates to the image until the cache on their browsers expire!

Good luck!