473,468 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3997
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"....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.