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, andit worked.I moved the stuff which was previously enclosed in the [showif] context toa 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 fileto 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 takeabout 0.12 seconds. While this is not quite as fast as the 0.083 seconds Irecorded when I removed the entire [showif] context for a test, it iscertainly a lot better than waiting 17 seconds every time someone hits thatpage!Sincerely,Ken
Associated Messages, from the most recent to the oldest:
|
- 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, andit worked.I moved the stuff which was previously enclosed in the
[showif] context toa 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 fileto 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 takeabout 0.12 seconds. While this is not quite as fast as the 0.083 seconds Irecorded when I removed the entire
[showif] context for a test, it iscertainly a lot better than waiting 17 seconds every time someone hits thatpage!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:
IRC Channel (2003)
How to Display text in empty fields (1997)
Web Mail (2000)
Limit on nested [ShowIf]'s? (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
How big can WebCat go? (1999)
Shipping formula problem (1997)
.htm file tags not showing up (2000)
WebCat Linux: Could not create pipeKey segment (2000)
Security Issue (1997)
Pithy questions on webcommerce & siteedit (1997)
[protect] (1998)
$Replace with [founditems] (1997)
RE: type 2 errors with ssl server (1997)
WebCommerce: Folder organization ? (1997)
[shippingtotal] still... (2002)
if else problem (2003)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Quitting WebMerchant ? (1997)
Public beta 5 of WebCatalog 4.0 is now available (2000)