Ooops... it was so late last night I didn't pay attention to where this was
going... I meant to send it out to the list.  Thanks to everyone who
responded, it really shows how cool this list is!

Joel R. Cochran
Director of Internet Services
VamaNet.com
(800)480-8810
mailto:webmaster@vamanet.com


-----Original Message-----
From: Joel R. Cochran
Sent: Friday, August 09, 2002 1:58 AM
To: 'Nathan M. Andelin '
Subject: RE: [WEB400] Serious speed issues...


Thanks Nathan,

Seeing that page size was the key.  The page size was simply way too big for
these simple pages and when I looked at the HTML source the spacing and
everything was seriously out of whack but I couldn't figure out why... until
I sat bolt upright from a dead sleep at 1AM knowing exactly what the problem
was.

Remember from my original post there were two things I did: the apache thing
and the QzhbCgi thing.

Well, I was messing with Brad Stone's new e-RPG(v2) book (must have, by the
way) and he had a great idea to put the NewLine character in the WrStout
wrapper, so while I was making the change over (so I could play with
CgiParse) I rewrote my WrStout sub-procedure.  When I did I missed one tiny
little step in setting the size of the Data Length parameter.

I had:
  WrtDtaLen = %len( WrtDta );

When I should have had:
  WrtDtaLen = %len( %trim( WrtDta ) );

Everytime I wrote to Standard Out I was writing 1024 characters, most of
which were blank!  That means super huge HTML files and super long
downloads.

Talk about shooting yourself in the foot!  Well, my sore foot and I are
going to bed since it's 2AM.

Thanks to everyone who responded, wouldn't you know it had to be something
silly?


Joel Cochran
Director of Internet Services
VamaNet.com

-----Original Message-----
From: Nathan M. Andelin
To: web400@midrange.com
Sent: 8/8/02 4:55 PM
Subject: Re: [WEB400] Serious speed issues...

> From: "Joel R. Cochran"
> http://www.vamanet.com/cgi-bin/ABOUT
> http://www.vamanet.com:1550/cgi-bin/ABOUT

That's weird.  Both links generate a 185KB page, mostly blank.  They
look
fine in the browser, but a page that size takes a long time to download.

Nathan M. Andelin
www.relational-data.com



_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.