Nebulous slow-down problem
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33932
interpreted = N
texte = Mac Plugin - every version of 4.0 (and 4.0.1).I know you're going to love this one, Grant.On two of our sites we have the error page set up to check for a special string (_.html), parse the submitted bad URL to extract a search string, and return a custom page based on that string. The new page is included. So the error page says something like:[SEARCH db=some.db&eqFIELDNAMEdatarq=A PARSED STRING][HIDEIF [NUMFOUND]=0]][INCLUDE file=somepage.html?A PARSED STRING][/HIDEIF][/SEARCH]This all worked great on WC3.However, on WebCat 4, this produces very bad results on *only one* of the sites. When using NetSplat, the error page only returns 9 hits (those 9 hits takes 15-25 seconds each to process) before returning nothing at all. It's like the threads aren't being closed.The included page is very complicated with a ton of code (mostly [SEARCH]es and [SHOWIF]s). Removing sections of code decreases the severity of the problem. The page will be returned more times and faster, but there's still an incremental slow down. Unfortunately, the complexity of the page makes it almost impossible for me to point to a sequence of tags and say, Aha, there it is.The workaround that I've come up with is to do a redirect to the right page, instead of including it. That works great and fast (each hit takes a fraction of a second).So, to sum up, I've gotten this far:- It only happens when the page is called as part of an include.- It only happens when the include is on the error.html page.- Hitting the page itself works fine (i.e. [REDIRECT special.html?STRING=hello] works, but [INCLUDE file=special.html&STRING=hello] doesn't).- It has nothing to do with nested includesI've spent many hours on this. Is there anything special about how WebCat treats the error.html page when a requested page is not found?Will provide a multitude of dbs and templates upon request.Michael#############################################################This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to
Associated Messages, from the most recent to the oldest:
Mac Plugin - every version of 4.0 (and 4.0.1).I know you're going to love this one, Grant.On two of our sites we have the error page set up to check for a special string (_.html), parse the submitted bad URL to extract a search string, and return a custom page based on that string. The new page is included. So the error page says something like:[SEARCH db=some.db&eqFIELDNAMEdatarq=A PARSED STRING][HIDEIF [NUMFOUND]=0]][INCLUDE file=somepage.html?A PARSED STRING][/HIDEIF][/SEARCH]This all worked great on WC3.However, on WebCat 4, this produces very bad results on *only one* of the sites. When using NetSplat, the error page only returns 9 hits (those 9 hits takes 15-25 seconds each to process) before returning nothing at all. It's like the threads aren't being closed.The included page is very complicated with a ton of code (mostly [search]es and [showif]s). Removing sections of code decreases the severity of the problem. The page will be returned more times and faster, but there's still an incremental slow down. Unfortunately, the complexity of the page makes it almost impossible for me to point to a sequence of tags and say, Aha, there it is.The workaround that I've come up with is to do a redirect to the right page, instead of including it. That works great and fast (each hit takes a fraction of a second).So, to sum up, I've gotten this far:- It only happens when the page is called as part of an include.- It only happens when the include is on the error.html page.- Hitting the page itself works fine (i.e. [REDIRECT special.html?STRING=hello] works, but [INCLUDE file=special.html&STRING=hello] doesn't).- It has nothing to do with nested includesI've spent many hours on this. Is there anything special about how WebCat treats the error.html page when a requested page is not found?Will provide a multitude of dbs and templates upon request.Michael#############################################################This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to
Michael Winston
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Pull Down Search (2000)
default value from Lookup (1997)
[WebDNA] Image resizing on the fly (2012)
WebCat on Intel Core 2 macs anyone? (2007)
OT: How to get more traffic to a site? (2005)
RE: WebCatalog NT beta 18 now available (1997)
Funny Chars (1999)
upload images and other data (2001)
Search/sort in URL Was: GuestBook example (1997)
date tag not interpreted (2000)
Protect vs Authenicate (1997)
question about checkboxes (1999)
The List is Changing (1997)
math on date? (1997)
Feature: TCPconnect via SSL (1999)
Variable prices and Formulas.db (1997)
random sorting broken (was Re[2]: php vs WebCatalog) (2000)
setlineitem quantity to zero? (2000)
Frames and WebCat (1997)
ie Posting error (2000)