[How-To] Instantiate Multiple Download Sessions in Internet Explorer

Internet Explorer by default doesnt allow more than 2 download session. However, this limit can be removed by a simple registry hack. This limit is a part of the Internet Standards which prohibit multiple download simultaneously.

This post describes a simple registry hack using which you can remove the download session limit of 2 in Internet Explorer.

1.) Ensure that you bakcup your computer or registry before you attempt this hack.

Regedit allows you to edit the registry settings.

Regedit allows you to edit the registry settings.

2.) Click Start — Run. Enter regedit and press OK.

3.) Navigate to HKEY_CURRENT_USER | Software | Microsoft | Windows | CurrentVersion | Internet Settings.

Create a New DWORD Value

Regedit: Create a New DWORD Value

4.) Click on Edit | New | DWORD Value . Name the DWORD as MaxConnectionsPer1_0Server

5.) Double click on the newly created value and enter the value data as 5. Set the base value as Decimal.

6.) Again, click Edit | New | DWORD Value to create another Value and name is as MaxConnectionsPerServer .

7.) Double click on the newly created value and enter the Value Data as 5 and base value as Decimal.

8.) Close the registry editor.

The above hack will allow you to increase the number of simultaneous downloads in Internet Explorer to 5. However, Microsoft doesn’t recommend this change as it conflicts certain standard procedures.

Also Read: Why does Windows have a registry?

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Understanding Prefetching

This post describes an interesting concept called “Link Prefetching in Web Pages”. It talks about the ways to design Prefetching within your webpages and also talks about the issues attached with it.

What is meant by Prefetching in Web parlance?

In order to understand Prefetching, we need to understand how a web page with multiple objects like images, stylesheets etc is loaded by a Browser. In a usual scenario, we always have a web page designated as the HTML rendered by the browser. This webpage then has the embedded objects like images ( jpeg,gif,png etc) , stylesheets ( css ) etc. When the user makes a request for such a webpage, the first thing a web browser does is load the HTML. The browser then parses the HTML and asks for the different objects in a top-down fashion.

Skeleton of a Web Page.

Skeleton of a Web Page.

The above figure explains the request flow for a hypothetical web page with HTML, Images, FLV, Javascript and CSS. The numbers written against the component refers to the way they would be requested by the browser.

So if you have a script written at the top of the web page, that will get loaded first, then whatever next. What is important to understand is that the next request from the browser is made only when the first request has completed. This ways, the browser waits for the first object request to complete before issuing the next request. This leads to a lot of wait time, which in turn can make your website appear to be slow.

With Prefetching, the web browser tries to resolve this issue. When Prefetching is enabled, the browser requests for the first object (i.e. the html) and while it delivers and renders the response to the end user, also parses the HTML to figure out the next subsequent requests. It then makes those requests Asynchronously and stores the result in its browser cache. Therefore, the wait time between the two results is reduced. When the user actually asks for that content, all the browser has to do is give that object from its Cache. The object appears immediately, thereby giving an impression to the end user that the website is indeed fast. Read more about How to get data from the browser cache in Firefox.

How to design my HTML to enable link Prefetching?

The browser looks for either an HTML link tag or an HTTP Link: header with a relation type of either next or prefetch. An example using the link tag follows:

<link rel="prefetch" href="/images/big.jpeg">

The same prefetching hint using an HTTP Link: header:

Link: </images/big.jpeg>; rel=prefetch

The Link: header can also be specified within the HTML document itself by using a HTML meta tag:

<meta http-equiv="Link" content="&lt;/images/big.jpeg&gt;; rel=prefetch">

Please note that even if you dont have these special tags in place, some browsers/ applications can still prefetch your links.

I am a Web Administrator, How can i identify Prefetch requests from the Browser client?

Yes. Firefox sends a special request header X-moz: prefetch for Prefetch requests. You can setup your server to track these requests seperately or block them totally, as the case may be.

If you are a web admin and seeing lot of traffic on your server, firstly identify Prefetching requests from your Server Access Logs and then in order to take control of the situation related with prefetching process, decide upon a rescue strategy.

Do i need any special kind of Browser for the Prefetching to work?

Almost all the web browser these days, support Prefetching. All you need to ensure is that your browser supports prefetching and it is enabled. Test if your browser supports Prefetching.

Are there any issues with Prefetching?

There are no serious issues attached with Prefetching but yes, you may find your bandwidth being utilized for content which you might never actually view. 

The other issue is related to prefetching of certain links with topics which might be illegal in your geography.

Your Web site statistics data may become less reliable because of statistics registered for page hits that were never seen by the user

Can i disable Prefetching in Firefox? How do i disable Prefetching in Firefox?

Yes. Though, by default Prefetching is turned on in Firefox, but it can be disabled by following the steps mentioned below.

1.) Open the Firefox browser

2.) Type about:config in the address bar and press Enter

3.) Scroll down the resulting preference list to network.prefetch-next

Disabling Prefetching in Firefox

Disabling Prefetching in Firefox

4.) Double click network.prefetch-next so the value is set to false.

5.) Close Firefox and restart it to enable the change.

Can you list any other Softwares or Add-ons which use Prefetching technique to help me gain some time?

Well, there are many but the two most famous one’s are Google Web Accelerator and an interesting Firefox Add-On for speeding up Firefox called FasterFox.

References: Mozilla

Also Read: Firefox 3.1 to add Private Browsing feature

[How-To] Open Firefox Bookmarks Using Keywords

Mozilla Firefox: Get the data from your Cache

Do you store your passwords using Firefox?

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey

PC Decrapifier Lets You Cut the Crap from your PC

If you have got a new laptop or a desktop or even for that matter a new version of Windows, and you are experiencing a latency when it comes to the boot time of your laptop or desktop, this post will help you get rid of the crap which comes installed by default. Crap, as these are those softwares which you will most probably never use; but they do block up your memory. You already know how to free up some memory on your PC by disabling Windows Messenger, if you dont use it.

PC Decrapifier is designed to detect and delete all such annoying software. Don’t worry, you will always get to see what has been detected; if there is anything you want to keep, you can always retain it.

PC Decrapifier works with all versions of Windows XP and Vista. You can also get the complete list of softwares which a PC Decrapifier can remove.

 

PC-Decrapifier lets you cut the crap from your PC.

PC-Decrapifier lets you cut the crap from your PC.

In short, PC Decrapifier does let you get rid of the bloatware which simply clogs up space and memory of your PC during boot time.

Though, you can always remove such programs from your Control Panel’s Add/Remove Programs feature, but this tool lets you get a list of most of the crap which might be sitting on your PC without even you knowing about it.

Also Read: Top 3 FREE Antivirus Applications

Top 3 Anti Spyware Applications

 

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey

[How-To] Add Flickr Photos to your Word Documents with Ease

What do you do when you have to embed an image from Flickr into your Word Documents? Download the image from Flickr onto your own computer and embed it using Insert Image feature of Word. If you are also the one who does the same thing and wastes a lot of time and bandwidth doing all this download and insert, their is good news for you.

 

Flickr4Word is a Plugin for Microsoft Word 2007 software that allows you to insert Flickr photos into your posts. All you need to do is install this software and get started.

 

Flickr4Word lets you embed Flickr Images into Word with Ease.

Flickr4Word lets you embed Flickr Images into Word with Ease.

The plug-in enables you to search all your content, photosets, or search by tags.  It is available for free and can be downloaded from Codeplex.  For developers, the code is also made available if you want to contribute fixes and features (that comply with Flickr API terms of use).

Also Read[How To] Convert PDF to Word files for free

Kingsoft Office 2007: Microsoft Office comes free

How-To: Copy Excel cells into a Word document

 

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey

[How-To] Create Powerpoint Presentation in Five Minutes

This post talks about creating Powerpoint Presentations in relatively very less time. Below is an embedded video from Youtube which talks very clearly about creating Powerpoint presentations using in-built templates and SmartArt.

Another interesting post worth having a look at is available at Lifepal, it talks about Creating Powerful Powerpoint Presentation by Nancy Duarte.

Some point to note when you go in for the presentation

1.) Remember to KISS, i.e. Keep it short and Simple.

2.) Use more of graphic than the text: More text means more attention diversion.

3.) Keep the humor going: Its important that while delivering presentation, you keep your Humor Quotient up. This helps the audience stay focussed.

4.) Practice makes a man perfect: Before you deliver your presentation, do rehearse it once in front of a mirror or some friends and seek feedback for further improvement.

Also read: Kingsoft Office 2007: Microsoft Office comes free « Technofriends

How-To: Copy and Align Shapes in Microsoft Powerpoint

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav

[How-To] Make sure that your websites works with different browsers

As web developers or programmers, it’s always good to remember that that regardless of what browser the visitors to your site use, for example, Firefox, Internet Explorer, Google Chrome, Safari, etc. your website should work.

This post describes some easy to implement points which if taken care of, can help you get your website rendered and functioning perfectly with all browsers.

These days various browsers are available. As web developer one must ensure that website is displayed correctly.

These days various browsers are available. As web developer one must ensure that website is displayed correctly.

1.) Test your website inside out on as many as possible browsers.

Though this sounds obvious, most of the web developers never even try this. As per a report most of the websites are only made to work with either Internet Explorer or Firefox. What about the Opera and Safari’s of the world? 

Testing your website on various browsers gives you the first hand results with details about things which work and things that don’t. Take this step seriously. It can save you a lot of energy and mental frustration later.

Try using BrowserShots. BrowserShots allows you to test your web site on different browsers.

2.) Check the markup of your webpages and get it validated.

Validation is a process of checking your documents against a formal Standard, such as those published by the World Wide Web Consortium (W3C) for HTML and XML-derived Web document types, or by the WapForum for WML, etc. It serves a similar purpose to spell checking and proofreading for grammar and syntax, but is much more precise and reliable than any of those processes because it is dealing with precisely-specified machine languages, not with nebulously-defined human natural language. Validate the markup for your webpages. 

Validity is one of the quality criteria for a Web page, but there are many others. In other words, a valid Web page is not necessarily a good web page, but an invalid Web page has little chance of being a good web page.

3.) Writing clean and good HTML helps

Your website might be working with the present day browsers, but, what about browsers which are going to be released later?  The best way to make sure that your page looks the same in all browsers is to write your page using valid HTML and CSS, and then test it in as many browsers as possible. Also get your CSS Validated.

4.) Try to use rich media only where it is needed.

Though rich media adds the zing to your site, not all browsers are capable of delivering rich media correctly. Its therefore adviced to use rich media only wherever its needed. Also do remember to add alternate tags wherever possible for rich media. This will make your website more search engine friendly.

5.) Check the Doctype

DocType is short for document type declaration. Its responsibilities as part of the frameset list include acting as an identifier, specifying certain attributes such as the versions of XHTML or HTML you are using. IE6, IE5/ Mac and Mozilla will all experience quirks in rendering web pages with non compliant doctypes. Opera has its own markup issues and javascript exceptions, but for the most part, it is the browser that has the least issues with faulty doctypes. 

Using different doctypes basically affects the way pages are rendered by web browsers which ultimately impacts the performance of the web pages. Check out Google Doctype, it is a Google-sponsored open encyclopedia and reference library for developers of web applications. 

6.) Set proper Charset for your webpages based on the charset requirement.

In some systems, a server will change character encoding to the default charset used. Charsets are not usually an issue unless they are not set right then they become quite important as they may present issues in the way that a document or web page is displayed. 

To help browsers render the text on your page, you should always specify an encoding for your document.

This encoding should appear at the top of the document (or frame) as some browsers won’t recognize charset declarations that appear deep in the document. In addition, you should make sure that your web server is not sending conflicting HTTP headers. A header such as content-type: text/html; charset=ISO-8859-1 will override any charset declarations in your page.

7.) Ensure that the site accessibility is in place and is proper.

Its very important for web developers to ensure that the site accessibility is proper. Testing your site in a text-only browser such as Lynx. Having proper text alternatives for rich media and other related objects on your websites makes your website search engine friendly, better still, it helps users on old or incompatible browsers.

Do you have any tips you would like to share with other readers? Do post them in your comments.

Via: Google Webmasters Help

Also read: [Notes]: Web Application Security Testing

Is your DNS patched against the recent Vulnerability?

BrowserShots: Test your web design in different browsers

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey

 

 

 


Google’s SketchUp 7 released

Google has today released the seventh version of Google SketchUp. Google SketchUp is a 3D Modelling tool which is available free of cost for both Windows and Mac users.

Official Google Blog says

SketchUp is software you can use to build 3D models of anything: your house, killer robots, furniture, trees, abstract art — anything. Architects and engineers use it to design buildings and other structures. Woodworkers use it to plan their projects. And lots of people use it to figure out where to put their furniture. SketchUp is easy to learn, it comes in free and Proversions, and it’s more fun than a houseful of clowns. Oh, and you can use it to build models for Google Earth, too.

Below embedded video explains what Dynamic Objects are and how they can be used in Google SketchUp 7.

What all is new with Google SketchUp 7?

1.) SketchUp 7 is easier to use than its earlier versions.

2.) Its easier to collaborate and share using SketchUp 7.

3.) More features in SketchUp 7 Pro.

In short SketchUp 7 is even more intuitive, has added tools for power users, and its easier to find and share models with the world. Check the video below to learn 

Download SketchUp 7.

Also read: Learning SEO Best Practices from Google.

Google Reader now translates feeds to your language on the fly

What is OpenID and how to use your Gmail account as OpenID.

 

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey