Make Your Website Load Faster

demo123

Member
Jun 24, 2007
131
0
0
What it does: It lets your members and your visitors feel that your site or forum is very fast when they access it. It is just like a trick only not really it does speed up your forum.

Version of vB: It works with ALL versions: vB1, vB2, vB3.0.x, vB3.5.x, vB3.6.x, and any version in future. More than this, you can use it for any simple website. :smoke:

Time to install: ~ 1 sec.

How to install: There are no database changes, additional files, ... etc. But there is only one change in a template.

1. Open the HEADER template.

2. Place the following code at the top of the contents:

<META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
<META http-equiv=Page-Enter content=BlendTrans(Duration=0)>


 

x-pert

Member
Jun 13, 2006
20,952
77
0
Dude this works only for Internet Explorer if you don't know...

Lot of people are using FireFox these days...
 

x-pert

Member
Jun 13, 2006
20,952
77
0
How does it work?

When a page posts back (for example when you click a button on a form), it normally causes a screen flicker as the page is redrawn. In a lot of cases the screen that is redrawn is very similar to the previous screen, and the flicker is an annoyance, disrupting the user's experience. The Blendtrans function causes the old page to blend smoothly into the new one, rather than flickering.

A lot of the time, this gives an identical effect to an ajax style http request. The page appears to have stood absolutely still as just one part of it is updated.

This simple trick alone gives you about 50% of the benefit of ajax, with a 1% of the effort. Having said that, it's absolutely limited to that one visual benefit, and limited to one browser.

To get the full benefits of ajax, you will of course need to use ajax, not fajax. ;-)

http://secretgeek.net/fajax.asp
 

demo123

Member
Jun 24, 2007
131
0
0
This will only work with IE (coz only IE support transition effects)...or IE technology supported browsers and not with Mozilla or opera....

but windows Standard browser is IE

I think the best way to make a website load faster is to use small image files. Or replacing image files with CSS where you can.

or use vector graphics such as flash (not just placing an image IN flash though-actually drawing it with flash) Flash is an ecellent example as it's compiled into a binary format that is very VERY VERY small (even for vector graphics-which are really small normally)

Another way (if the server is fast) is to have a script compare the output with the template of the current page (stored temporally on the server side during a session, using onload and onunload for session duration maybe) and use ajax to load parts of the page (that are updated) but that's pretty complicated stuff.
 

MCLINER

Member
Aug 9, 2006
11,314
9
0
UNDERGROUND
x-pert said:
How does it work?

When a page posts back (for example when you click a button on a form), it normally causes a screen flicker as the page is redrawn. In a lot of cases the screen that is redrawn is very similar to the previous screen, and the flicker is an annoyance, disrupting the user's experience. The Blendtrans function causes the old page to blend smoothly into the new one, rather than flickering.

A lot of the time, this gives an identical effect to an ajax style http request. The page appears to have stood absolutely still as just one part of it is updated.

This simple trick alone gives you about 50% of the benefit of ajax, with a 1% of the effort. Having said that, it's absolutely limited to that one visual benefit, and limited to one browser.

To get the full benefits of ajax, you will of course need to use ajax, not fajax. ;-)

http://secretgeek.net/fajax.asp



awzum dude