Re: Include vs. lookup?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16039
interpreted = N
texte = I moved this message from WebDNA-Talk to webcatalog-beta becuase of thereference below. And cc'd a copy to clearway>>Since an [include] has to hit the disk to see if the file's been changed>>since the last time it was loaded into WebCat's RAM cache, but a [lookup]>>doesn't have to hit the disk first, I think a [lookup] will be faster>>than an [include] most of the time, is this correct?>>Yes.>>And the new 2.1 has a new preference that speeds up those disk hits too.I must have missed this setting in b7. Which one is it? In testing overthe weekend linking to a bunch of very large text files where the page hasan [included] header and a footer and then [include/somefolder/sometext.txt] in the middle of the page, where some.txt filecould be 64 to 128K or larger, it is slow on delivery. Typing inhttp://www.myserver/somefolder/sometext.txt in netscape via dial up is lotsfaster. I did not record the readings, but best guess was low 2.0K for via[include] and over 3.0K per sec on direct link to file name. And if Ireplicated the file out with firesite it screemed over dial up pushing 4.0Kper sec. Replicated server is a G3 with ultra-wide scsi on T-1 runningwebten.My only wish is that I could somehow get firesite to see that the fileending with the .txt extension inside the [include] tags would come fromthe replicated server.Sorry Grant, Jay and John but we need a new tag that can hook large[included] text files to come from a rep server. version b9 would be waycool (weg)===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
Associated Messages, from the most recent to the oldest:
I moved this message from WebDNA-Talk to webcatalog-beta becuase of thereference below. And cc'd a copy to clearway>>Since an
[include] has to hit the disk to see if the file's been changed>>since the last time it was loaded into WebCat's RAM cache, but a
[lookup]>>doesn't have to hit the disk first, I think a
[lookup] will be faster>>than an
[include] most of the time, is this correct?>>Yes.>>And the new 2.1 has a new preference that speeds up those disk hits too.I must have missed this setting in b7. Which one is it? In testing overthe weekend linking to a bunch of very large text files where the page hasan [included] header and a footer and then [include/somefolder/sometext.txt] in the middle of the page, where some.txt filecould be 64 to 128K or larger, it is slow on delivery. Typing inhttp://www.myserver/somefolder/sometext.txt in netscape via dial up is lotsfaster. I did not record the readings, but best guess was low 2.0K for via
[include] and over 3.0K per sec on direct link to file name. And if Ireplicated the file out with firesite it screemed over dial up pushing 4.0Kper sec. Replicated server is a G3 with ultra-wide scsi on T-1 runningwebten.My only wish is that I could somehow get firesite to see that the fileending with the .txt extension inside the
[include] tags would come fromthe replicated server.Sorry Grant, Jay and John but we need a new tag that can hook large[included] text files to come from a rep server. version b9 would be waycool (weg)===============================================Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com===============================================
grichter@panavise.com (Gary Richter)
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:
How do I make this faster???? (2000)
Searching for the end (1998)
No more misunderstanding ... yay! :) (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997)
my price won't move (1997)
OT: 800x600 (2003)
PSC recommends what date format yr 2000??? (1997)
[WebDNA] Databases not staying open (2010)
Running WebCat from a CD-ROM (1997)
off topic - dna snipets (1997)
A Global Variable (1997)
[OT] Who's got a cool link (2002)
How bad an idea is it to put cart=[cart] on all links? (2000)
WebCat virtual postcard is done! Thanks for the help! (1998)
listfiles-looking for slick solution (1997)
TaxTotal Problem (1997)
Special delete ... (1997)
HomePage Caution (1997)
No luck with taxes (1997)
more on my bbs (1997)