- From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
- Date: Tue, 10 Feb 1998 16:55:04 +0100
- To: Ian the hunk Monk <ijm95c@Cs.Nott.AC.UK>
- cc: www-jigsaw@w3.org
> > Hi, > > > Can anyone help me with SSI resources. I seem to be able to write them correctly, however when I use them in my web pages the web server seems to take ages in returning them. I have developed a simple resource that queries my database and writes some of the value into a html page. The following is what happens ( I have attached the debug filter to the resource ): > > 1. Make a call to the .shtml page ( Time = 0 ) > 2. My browser shows its status as " Connect : Host my browser address:8001. Waiting for reply ....." (Time =1sec ). The following is generated by my server : > > GET /Auction/product1.shtml HTTP/1.0 > Connection: Keep-Alive > Date: Wed, 04 Feb 1998 18:52:26 GMT > Pragma: no-cache > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* > Accept-Charset: iso-8859-1,*,utf-8 > Accept-Language: en > Authorization: Basic eHl6Onh5eg== > Host: ll87.dial.pipex.com:8001 > Referer: http://ll87.dial.pipex.com:8001/Auction/category_1.html > User-Agent: Mozilla/4.04 [en] (Win95; I ;Nav) > > 3. There is a long delay of at least 30 sec. Then the server produces (TIME=35sec): > HTTP/1.1 200 OK > Date: Wed, 04 Feb 1998 18:53:21 GMT > Content-Length: 61071 > Content-Type: text/html > Etag: "uca5c3:pkg5fu90" > Accept-Ranges: bytes > Server: 1.0beta1 > > 4. Now my SSI resource starts working and generated some output on the standard output, that I indicated it should (TIME=36sec). > > 5. The browser loads the web page (TIME=37sec). > > > Can anyone tell me if this should take this long, if so why? If not does anyone know how I can change it. > > Cheers > Ian > No, it's not supposed to be so slow, I have some ssi resources used to make tests, one of them queries a database (msql) three times in the same document and display the result. A call to this resource (local call) take almost 2 or 3 secondes. It seems that something else is responsible of that, I don't know what. - Benoît Mahé ------------------------------------------------------- World Wide Web Consortium (W3C) Architecture domain - Jigsaw Team http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 ---------------------------------------------------------------------
Received on Tuesday, 10 February 1998 10:55:34 UTC