Page File Size

A

Andy S.

I am really confused about this. I'm using FP 2002 and see sites with
scrolling marquees/text, Macromeda Flash, rotating graphics, graphic
backgrounds, huge and/or lots of photos-- not to even mention .css (which I
guess I use a lot).

What is now considered the ideal file size for a Web page? I used to have a
boss that wouldn't allow anything over 40kb to be published.

One additional question please; how many bytes does .css add to a page and
how is it distributed?
 
T

Thomas A. Rowe

30 kb is the recommend size, since you still have to be concerned with dial
up users.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
A

Andy S.

Thanks, that's about what I was taught. Do you know how many bytes a .css
file adds to a site and
how it's distributed?
 
S

Stefan B Rusynko

Depends on how big it is - # lines
(same as a web page)
- but it is cached so the hit is only on the 1st page you are linked to

--




| Thanks, that's about what I was taught. Do you know how many bytes a .css
| file adds to a site and
| how it's distributed?
|
| | > 30 kb is the recommend size, since you still have to be concerned with
| dial
| > up users.
| >
| > --
| >
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, Forums, WebCircle,
| > MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| > | > > I am really confused about this. I'm using FP 2002 and see sites with
| > > scrolling marquees/text, Macromeda Flash, rotating graphics, graphic
| > > backgrounds, huge and/or lots of photos-- not to even mention .css
| (which
| > I
| > > guess I use a lot).
| > >
| > > What is now considered the ideal file size for a Web page? I used to
| have
| > a
| > > boss that wouldn't allow anything over 40kb to be published.
| > >
| > > One additional question please; how many bytes does .css add to a page
| and
| > > how is it distributed?
| > >
| > >
| >
| >
|
|
 
A

Andy S.

Can you tell me what file a browser looks for first? Does it download html
first, then .css, then graphics, then JavaScript?
 
S

Steve Easton

The browser opens the htm file first,
and then loads other files in the order they are
listed in the html, from the top to the bottom.
 
A

Andy S.

Thanks a lot!
Steve Easton said:
The browser opens the htm file first,
and then loads other files in the order they are
listed in the html, from the top to the bottom.


--
95isalive
This site is best viewed..................
..............................with a computer
used
 
S

Sparky Polastri

The primary HTML (or ASP or whatever) is first.

Then browsers open up additional connections to the server to download the
files referenced in the HTML during the rendering process, i.e. .js, .jpg,
..css, etc.

Most browsers user 4 connections, though some allow users to modify those
connections.

Depending on which browser and version... what gets downloaded first varies
from platform to platform.

Generally, you can get an idea of file size by simply adding up the bytes
required for the primary file and all the files referenced (for display, not
hyperlinks) in the file.

Also in general, once an image or css or JS file has been downloaded, the
browser will not request it again.

Keeping the overall page size low is a good idea, but you can modify any
rule of thumb based on your expected visitor demographic and what computers
and connections they tend to use while visiting your site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top