Re: Page takes time to respond when CSS is implemented

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 06/09/04


Date: Wed, 9 Jun 2004 18:09:54 +1000

If the page never appears in the browser, then I don't think this has
anything to do with your CSS file.
Again, please look in the IIS logs. Is the request for the ASP page logged?
Is there a separate request for the CSS file?

If the ASP page is never displayed, then the CSS file will never be
requested (since the ASP first needs to be loaded, then IE notices that
there is a link to an external file, then IE issues a separate request for
the external file).

Cheers
Ken

"ajak" <razak@mmsc.com.my> wrote in message
news:etjd05eTEHA.1284@TK2MSFTNGP10.phx.gbl...
: i didnt check the log file but i did put a breakpoint at the start of the
: asp page. and i can singgle stepping the codes until the end of the asp
: file.
: but then, the page never appear in browser.
:
: "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
: news:O45892dTEHA.1548@TK2MSFTNGP11.phx.gbl...
: > What do your IIS logs shows? Is IIS even receiving the subsequent
: requests?
: >
: > Cheers
: > Ken
: >
: > "ajak" <razak@mmsc.com.my> wrote in message
: > news:%23Bh6V1bTEHA.2972@TK2MSFTNGP12.phx.gbl...
: > : Please anyone.. anybody else has encountered problem like this? Do you
: > know
: > : any solution? Or am i asking the question in the wrong news group?
: > :
: > : "ajak" <razak@mmsc.com.my> wrote in message
: > : news:u0$SZIUTEHA.2908@TK2MSFTNGP10.phx.gbl...
: > : > Hello, hope you guys can help me out here. This has never occured to
: me
: > : > before.
: > : >
: > : > My development PC is WinXP Pro SP2 with IIS 5.1. I have an ASP page
: > which
: > : > implements CSS using the line <link href="styles.css"
rel="style***"
: > : > type="text/css"> in the head section.
: > : > The problem is the page seems to take forever to load, only if the
: line
: > : > above is present on the page.
: > : > The folowings are some tests that I have made:-
: > : >
: > : > 1. I commented out the line -> the page loads fine.
: > : > 2. I use <style>...</style> instead of <link> tag above -> the page
: > loads
: > : > fine. The styles work fine.
: > : > 3. On different Win2003 server (using IIS 6) -> the page and the
: > tyle***
: > : > works great.
: > : >
: > : > Thank you in advance
: > : >
: > : >
: > :
: > :
: >
: >
:
:


Loading