472,958 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 3944
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.