Probably, you already know about a website dedicated to famous Tamil star Rajnikanth named AllAboutRajni (AllAboutRajni.com) which was launched just couple of days back on the occasion of Rajni’s birhday. The website has been built and launched by DesiMartini. As with everything else related to Rajnikanth, even his website has been launched as something weird. The weird part of AllAboutRajni is that this website works without any internet connection. In fact as soon as you access the site by typing its URL, the welcome message itself prompts the user to disconnect the internet connection for the website to work. It even says that website works with Rajni power. Most of the people (specially non-techies) are almost amazed with the website that doesn’t need any internet connection. People have even started it referring as a world’s first ever website that works without any internet connection. So what’s the real story and secret behind the AllAboutRajni website that makes it work without any internet connection.
Secret Behind AllAboutRajni.com Website’s Working without Internet Connection
First let me explain it from the perspective of a layman for an easy understanding by non-technical people.
There are two aspects to look into – (1) the working of website without internet connection and (2) website becoming inaccessible when the internet connection is turned ON. So, first thing first. The website AllAboutRajni works without internet connection because it gets downloaded to your computer the very first time you try to access it. Once it has been downloaded to folder of the local computer, it allows you to continue to access it from your own local computer’s folder. Basically, it is a flash file that gets downloaded to the local computer on the first access. Then, whatever link you try to click on the website, it picks up the relevant information page from your own computer and displays it. I don’t know how many of you have observed that you still require to access the All About Rajni website at least once with your internet connection ON. You can try to access AllAboutRajni.com with disconnected internet for the first time and you will notice that it doesn’t work.
Ok, so why does it not work when the internet connection is ON. Now, this part has been deliberately kept like that so that you find the website as weird as Rajnikanth has always been portrayed himself in his films, websites, blogs, jokes etc. Basically, it has been done to only prove that nothing related to Rajnikanth is ever normal. So how does the website not work when internet is ON.
What Makes AllAboutRajni.com website Inaccessible with Internet ON
This is nothing but a extra lines of program code that keeps checking if the internet connection on the local computer is ON or OFF. It checks the availability of the internet connection by continuously pinging certain site or server which can be accessed only via internet connection. So if that website or server is reachable by the program code, then it recognizes the availability of internet connection and gives an error. Only once internet is OFF that server or website become unreachable and it allows you to access AllAboutRajni website further on.
The website program doesn’t check the internet availability once but it keeps checking it continuously in the background so that even while you are accessing the Rajni’s website, if you try to switch ON your computer’s internet connection, it again throws an error.
Technical Details Revealed About AllAboutRajni.com
Technically speaking, such a functionality of accessing the website from local computer rather than from internet has been incorporated using HTML5’s offline storage specs. It allows you to create what has been referred to as an “offline web”. Again, it does this by downloading all the required files when the internet connection is available so that you can continue to access the pages even when the web is not available. If you are a Gmail user, then you must be aware about Gmail’s offline facility which also works based on the same principle.
Hope, now you understand how AllAboutRajni works.