473,287 Members | 1,651 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Loading Website All At Once

This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of the size than anything else but this person insists on the
request. Am I missing something here or there is actually a way to
load the whole website all at once other than hiding body with DOM
until page is loaded or setting buffer to true on a server side which
does not work for this request (but I tried)?
Thanks.
Jun 27 '08 #1
6 3985
On Fri, 06 Jun 2008 23:24:30 +0200, vunet <vu******@gmail.comwrote:
This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of the size than anything else but this person insists on the
request. Am I missing something here or there is actually a way to
load the whole website all at once other than hiding body with DOM
until page is loaded or setting buffer to true on a server side which
does not work for this request (but I tried)?
You might try to preload all the images with javascript, with a script tag
before the body. Strange request though, and if it takes long to load a
lot of people will bail. AFAIK, browsers should execute (non deferred)
javascript before loading any HTML further. It will result in a total
empty page until everything has loaded though.
--
Rik Wasmus
....spamrun finished
Jun 27 '08 #2
In article
<b6**********************************@c58g2000hsc. googlegroups.com>,
vunet <vu******@gmail.comwrote:
This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of
....

This is how to do it:

Deliver a page that has the images load but are hidden. On this page,
have a nice distraction like

<http://dorayme.890m.com/jokes/pope_rabbi_debate.html>

with a link at the bottom to go to the real page. The images will have
been cached by then.

--
dorayme
Jun 27 '08 #3
In article <dd******************************@comcast.com>,
Ed Mullen <ed@edmullen.netwrote:
dorayme wrote:
In article
<b6**********************************@c58g2000hsc. googlegroups.com>,
vunet <vu******@gmail.comwrote:
This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of
...

This is how to do it:

Deliver a page that has the images load but are hidden. On this page,
have a nice distraction like

<http://dorayme.890m.com/jokes/pope_rabbi_debate.html>

with a link at the bottom to go to the real page. The images will have
been cached by then.

Umm. dorayme? What link at the bottom? The Rabbi debate was cute but
... uh ... no link to another page. Hence, diminished value to your
tutorial posting. Or did I miss something?
Yes, I think you missed that I was conveying an idea which might spur
useful ideas in the OP. For example it might spur him to make the
opening page one that engages the reader with stuff relevant to his
website which quietly also loads stuff which becomes visible on further
pages quickly because now cached. I proceeded without dotting all the
"i"s and crossing all the "t"s.

I was *not* giving an example of the complete page he should write as a
decoy while the images load. I was giving the idea that on such a page
he could have something to amuse or engage the reader while the sneaky
business was going on behind the scene (in a negatively margined area or
in an invisibly displayed element*. What he could have is a story about
rabbis and popes. Or whatever he liked. I saw an opportunity to let you
read this joke again.

Best to meet ideas half way. Not to greet an idea with the demand that
it should be everything to everyone and perfect in every respect.

Perhaps you also missed, because I never said anything about it, that I
am suspicious of the need to be loading things that take a lot of time
without reserving such to pages where the user knows he is wanting such
a thing and is prepared to wait for it. The website maker should get
into the habit of giving people tastes of things and them being able to
get more if they want. Not to be lumbering folk with a lots of stuff
just like that! It is not a lesson that all have absorbed.

----------------------
* I am working right now on a special design for an invisible element
that gives a creepy *feeling* to the viewer, something he cannot quite
see but knows is there (like a ghost). It makes me shudder to think of
it, wait till you sense it when I publish. (Boji, if you want an
advanced *shuddering sense* of this, send $US5 and I will give you a
draft)

--
dorayme
Jun 27 '08 #4
On 6/6/2008 2:24 PM, vunet wrote:
This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of the size than anything else but this person insists on the
request. Am I missing something here or there is actually a way to
load the whole website all at once other than hiding body with DOM
until page is loaded or setting buffer to true on a server side which
does not work for this request (but I tried)?
Thanks.
From the other responses to your question, it should now be apparent
that you are trying to solve the wrong problem. You have a Web page
that is too large, most likely from gratuitous graphics that add little
understanding of the content.

Suggestions by other responders generally involve delaying any display
at all until the graphics finish loading. Your client might like that,
but your client's intended audience will reject it.

The real solution is to make the page smaller. Remember that graphics
and Flash are part of the size. Also remember that it takes longer to
download 10 files of 10 KB each than to download one 100 KB file.
That's because 10 separate requests must be sent to the server, which
must then provide 10 separate responses.

If your intended audience is in the U.S., note that over 40% of the
Internet connections in the U.S. (including mine) still use dial-up. If
I run into a page that seems to take too long to load, I use a toolbar
capability to suppress the loading of ALL images. Further, my setup
blocks all Flash, leaving only a marker where a Flash presentation would
have appeared. I can select that marker to display the presentation,
but I usually ignore all Flash. JavaScript is another time-waster,
especially those scripts that cause additional scripts to download. For
the Web site of a mutual fund group where I have my retirement savings,
I disable JavaScript except for those pages that cannot be rendered
without it.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
Jun 27 '08 #5
you should optimize your page, with less images.
other tricks are just gymnic. your client may be happy but the visitors
will hate to see nothing until 1000 images do load, and they will simply
close the website and go somewhere else.
go smaller.

or use just ONE big image to replace all the page :-)

This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of the size than anything else but this person insists on the
request. Am I missing something here or there is actually a way to
load the whole website all at once other than hiding body with DOM
until page is loaded or setting buffer to true on a server side which
does not work for this request (but I tried)?
Thanks.

--

ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ¸,ø¤º°`°º¤ø,¸
http://www.HyperPublish.com Catalogs, CD and sites with 1 tool
http://www.EasyWebEditor.com Create a nice Web site with ease
http://www.1site.info A professional Website quickly
http://www.EBooksWriter.com Discover the artist inside you!
http://www.PaperKiller.com Manuals, HTMLHelp, CHM quickly
http://www.CdFrontEnd.com Create autorun CD presentations

Visual Vision - http://visualvision.com http://visualvision.it
leader in hypertext authoring [ASP members, ESC members]
Jun 27 '08 #6
On 6/11/2008 5:25 PM, VisualVision wrote [in part]:
>
or use just ONE big image to replace all the page :-)
That would of course delay the display of the page and drive away
customers.

More important, that would likely make the page inaccessible to anyone
who is visually handicapped and who relies on an audio browser. If the
page is for a business or government agency, that would create the risk
of a lawsuit under the Americans with Disabilities Act.

Yes, I saw the :-) However, someone else might take this suggestion
seriously.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: OneSolution | last post by:
Hi All, Here's what I'm trying to do. I have a diverse customer base, and as it grows, it's increasingly harder to figure out what aspect of our web site is selling and what is not. So I've...
6
by: Ed | last post by:
I first noticed this in my own app. Images would show up missing randomly on IE 6.0.2800.1106 on Windows 2000 server. I then was able to repro this problem on Microsoft's website!!! The page I...
2
by: Harry Whitehouse | last post by:
I'm coming from an ISAPI background and migrating code to Webservices. In the ISAPI world, there are sections of code that are invoked only once when the DLL is loaded by IIS. It's a place...
10
by: eholz1 | last post by:
Hello Members, I am setting up a photo website. I have decided to use PHP and MySQL. I can load jpeg files into the table (medium blob, or even longtext) and get the image(s) to display without...
3
jeremydowe
by: jeremydowe | last post by:
Hi, I have noticed that quite a few websites use a preloading graphic (i.e spining circle) to show the that the site is loading images while the user waits. How can I add this to my website? ...
3
by: Phil | last post by:
Jerry posed some good ideas, a while back, on website a security issue that comes up often. Gary Jones was asking how to keep users from directly accessing php pages, out of sequence. Jerry...
14
by: DavidNorep | last post by:
I do not know PHP, consider to write a CGI with this technology and have the following question. Is it possible to invoke a PHP script and let it endlessly wait for requests from a website (a...
0
by: wojtowicz.maciej | last post by:
Hello, We have asp.net application: .net / 200 000 loc and about 200 000 loc in orbital projects (referenced to website as projects (not as dlls)). Compiling application time is "normal"....
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.