[thelist] Link Stylesheets

Michael Goddard michael at tdh-marketing.com
Tue Aug 28 12:23:12 CDT 2001


Wanted to thank everyone for their input.  I was mainly curious on exactly
how a stylesheet was referenced by the browser (whether actually downloaded
or if the browser "queried" the server for the file each and everytime a tag
was encountered etc.)

Once again thank you for the information

Michael
----- Original Message -----
From: "Rob Oviatt" <rgoviatt at nbnet.nb.ca>
To: <thelist at lists.evolt.org>
Sent: Tuesday, August 28, 2001 9:59 AM
Subject: Re: [thelist] Link Stylesheets


> Michael:
>
> Not sure where your going with this, but...
>
> Your stylesheet is loaded into the client's cache when called by the
<link>
> tag, and the styles defined by it are used as needed.  If your using a
> large stylesheet and want to cut down on the load time of search
> results.  Use the same stylesheet for your search page.  That way it is
> downloaded to the viewer's machine before the search results, and does not
> need to be downloaded again, for the viewer's system will have cached it.
>
> Rob Oviatt
>
>
> At 04:13 PM 8/27/01 -0400, you wrote:
> >Maybe someone can help me with this...I am trying to find out exactly how
a
> >stylesheet is referenced by the browser when using the <link
> >rel="stylesheet" etc..> within the HTML document.  Does the browser
actually
> >downloads the stylesheet or does the browser just "query" the stylesheet
for
> >each and every HTML tag?
> >
> >The reason I am trying to find out is that we have a client who has a
> >quoting system that we built using PHP and mySQL.  With reps from all
over
> >the world using this thing, the quote records are numerous.  When a user
> >decides to view all records, it takes a bit of time due to the number of
> >records on the database.  So we are looking to optimize the page as much
as
> >possible.  We have already clean up our PHP code and streamlined the
> >database.  Now it is just a matter of tweakin the HTML portion if at all
> >possible.
> >
> >I know we are only going to get so much improvement but I am also very
> >curious on how a browser reacts to the <link rel="stylesheet" etc>
question.
> >
> >Thanks for any info
> >
> >Michael
> >
> >
> >---------------------------------------
> >For unsubscribe and other options, including
> >the Tip Harvester and archive of TheList go to:
> >http://lists.evolt.org Workers of the Web, evolt !
>
>





More information about the thelist mailing list