Follow-Up to: Removing [showif] makes a big difference in speed

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10780
interpreted = N
texte = Hi Grant,I had an idea for speeding things up a little on subsequent searches, and it worked.I moved the stuff which was previously enclosed in the [showif] context to a separate file and I used [include] to include that stuff in the [showif] context. My thinking was that if WebCat2 would have to open a separate file to get at this stuff, maybe it wouldn't open that file when the [showif] evaluates to 'false'.Apparently I was right about this, because my subsequent searches now take about 0.12 seconds. While this is not quite as fast as the 0.083 seconds I recorded when I removed the entire [showif] context for a test, it is certainly a lot better than waiting 17 seconds every time someone hits that page!Sincerely, Ken Associated Messages, from the most recent to the oldest:

    
  1. Follow-Up to: Removing [showif] makes a big difference in speed (Kenneth Grome 1997)
Hi Grant,I had an idea for speeding things up a little on subsequent searches, and it worked.I moved the stuff which was previously enclosed in the [showif] context to a separate file and I used [include] to include that stuff in the [showif] context. My thinking was that if WebCat2 would have to open a separate file to get at this stuff, maybe it wouldn't open that file when the [showif] evaluates to 'false'.Apparently I was right about this, because my subsequent searches now take about 0.12 seconds. While this is not quite as fast as the 0.083 seconds I recorded when I removed the entire [showif] context for a test, it is certainly a lot better than waiting 17 seconds every time someone hits that page!Sincerely, Ken Kenneth Grome

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:

File Uploads... (1997) question on [delete] (1998) Ampersand (1997) frames & carts (1997) Secure server question (1997) Multiple prices (1997) [Announce]: Web server security and password protection (1997) Emailer help....! (1997) Big Databases (1997) ConverChars (1999) OT: How to Ignore Your Best Customers (2003) Re:FYI: Error message (1996) Paths (1998) Weird WebCatalog problems (1998) WebDNA Partner edition .. (2002) RE: Loss in form (1998) RequiredFields template (1997) [removehtml] (was: Undocumented tags and contexts) (2000) Version 4? (2000) Online reference (1997)