diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


qUIpt: Client side JS caching in window.name

qUIpt is a small library that is capable of caching Javascript files inside the users browser – even if SSL is active. qUIpt helps the site owner by reducing traffic costs and the user with faster page loading.

How does it work?

  • It checks for the contents of window.name while your page is being loaded.
  • If there’s nothing inside the window.name cache the JS files defined by you are fetched via XHR
  • The same happens if the users enters your site for the first time of his current browser session or if document.referrer is off-domain or empty
  • After that the contents of window.name are being evaluated
  • If the user requests the next page on your domain the JS files are directly taken from window.name – no more requests necessary

qUIpt | Demo

Source:→ Ajaxian

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...