Browsing articles in "Uncategorized"

Preventing Joomla! from sending no-cache in headers

If you are using Joomla! 1.5+ and trying to cache with nginx or other caching server and at same time you don’t want to use Joomla! system cache plugin. You’ll face a big problem, that Joomla! is sending “Cache-Control: no-cache” and “Pragma: no-cache” in response headers.

Here’s the solution :

1. Edit the following file :

Joomla root/libraries/joomla/environment/response.php

2. Search for the following code :

if (self::allowCache() === false) {
self::setHeader('Cache-Control', 'no-cache', false);
// HTTP 1.0
self::setHeader('Pragma', 'no-cache');

3. Comment this if condition, to be as follows

if (self::allowCache() === false) {
self::setHeader('Cache-Control', 'no-cache', false);
// HTTP 1.0
self::setHeader('Pragma', 'no-cache');

Now, you can disable Joomla! caching, and run whatever caching server, as nginx.


Almost 1 year later since my last post, but it’s time to talk :) ! Let’s start with 1st topic, which ‘s CEO Vs. CEO.

and here’s the story : Continue reading »

Startup and change the world , Recommended book.

guidebookad2 Years ago, I attended this book launching event, in GKP (Global Knowledge Partnership), Malaysia 2007 and it was one of biggest events in ICT4D field. The authors of this book did really a GOOD JOB, so don’t hesitet in reading this book, it’s in simple english and not big one. it’s about Supporting young social entrepreneurs Continue reading »

Plastic Nescafe Classic

5 minutes ago I was preparing a Nescafe Cup and after I’d opened the packet I found a piece of PLASTIC !! the most strange thing that if you tried to rub it, it’ll be a powder exactly like Nescafe !! so, does Nestle add some plastic to Nescafe Components ??
BTW, I still have the packet if you’re interested !! Continue reading »

Cant create a new dial-up connection

2 months ago, I went to a place where there’s no WiFi Connection, but there was a land-line phone, and when I tried to create a new dial-up connection to plug the landline phone cable, I found the option is DISABLED, when I back home I spent over 2 days trying about 4-5 solutions by microsoft itself and nothing works !! and finally find a the solution ! Continue reading »

Time waster mail

I got a mail from friend, contains :

If you saw ME in a police car what would you think I got arrested for? Reply to me alone, then fwd this on and see how many crimes you get accused of.

I sent it to many friends, and here are all replies that I got :D  !!
BTW, you can leave your comment here too :) ! Continue reading »

Enjoy the creative music @ Google london

Loud your speakers & be ready for a creative-music party ! Continue reading »

The Miraculous Gold Number

The Miraculous Gold Number, Extremely Great VIDEO about Golden Number in Quran, YOU MUST WATCH IT !