Re: Speed Optimization - Mac
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12544
interpreted = N
texte = >-IS there a performance benefit or loss by having WC process all .html as>well as .tmpl files?Yes, it's a benefit.>-And with WC processing all .html files, does WC's smart caching (which BTW>is a terrific feature) pickup and cache all .html & graphics as it does>with .tmpl stuff?WebCat2 does NOT cache graphics, so if you want your graphics cached, useWebSTAR with the appropriate plugins for that. WebCat2 definitely 'smartcaches' .html and .tmpl files (assuming you're using suffix mapping forthese files) ... and I 'assume' that it will also 'smart cache' [include]files, too, but we should ask Grant or John or Jay about that one, just tobe sure ... :)>-if so, should I adjust (or eliminate) WebStar's own file caching?Using WebSTAR to cache only graphic files, and using WebCat2 to cache allyour non-graphic files seems to me to be the fastest setup I've been ableto create ... short of using a separate RAM-caching graphics server likeRushHour or PostHaste, of course.StarNine claims that there's not much of a speed advantage to theseRAM-caching graphics servers when compared to using their plugins withWebSTAR, but I have my doubts.It seems to me that anything that takes a load off WebSTAR - especially aprogram designed exclusively for RAM-caching and graphics serving - wouldbe faster that WebSTAR.These programs do not have the overhead of checking security settings orrealms when serving graphics (because graphics are considered unsecurefiles that can be served to anyone who requests them), and they are notslowed by the MacOS file system because the image files they serve arecached at startup - avoiding the file system at serving time.Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
>-IS there a performance benefit or loss by having WC process all .html as>well as .tmpl files?Yes, it's a benefit.>-And with WC processing all .html files, does WC's smart caching (which BTW>is a terrific feature) pickup and cache all .html & graphics as it does>with .tmpl stuff?WebCat2 does NOT cache graphics, so if you want your graphics cached, useWebSTAR with the appropriate plugins for that. WebCat2 definitely 'smartcaches' .html and .tmpl files (assuming you're using suffix mapping forthese files) ... and I 'assume' that it will also 'smart cache'
[include]files, too, but we should ask Grant or John or Jay about that one, just tobe sure ... :)>-if so, should I adjust (or eliminate) WebStar's own file caching?Using WebSTAR to cache only graphic files, and using WebCat2 to cache allyour non-graphic files seems to me to be the fastest setup I've been ableto create ... short of using a separate RAM-caching graphics server likeRushHour or PostHaste, of course.StarNine claims that there's not much of a speed advantage to theseRAM-caching graphics servers when compared to using their plugins withWebSTAR, but I have my doubts.It seems to me that anything that takes a load off WebSTAR - especially aprogram designed exclusively for RAM-caching and graphics serving - wouldbe faster that WebSTAR.These programs do not have the overhead of checking security settings orrealms when serving graphics (because graphics are considered unsecurefiles that can be served to anyone who requests them), and they are notslowed by the MacOS file system because the image files they serve arecached at startup - avoiding the file system at serving time.Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
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:
Re:2nd WebCatalog2 Feature Request (1996)
Last Record not recognized? (1999)
Still Stumped on ShowNext...HELP! (1997)
old mail...problem with listserv? (1998)
Frames and WebCat (1997)
[WebDNA] [BULK] Permissions set when Append DB (2011)
Webmerch Error (1998)
checkbox results written to a database (1999)
syntax question, not in online refernce (1997)
[FoundItems] Image Gallery (2001)
[/application] error? (1997)
sharing cookie recepies (1998)
Can't Update records (1997)
form data submission gets truncated (1997)
show all problem (1997)
NT Manual (1997)
Ariba XML support help needed (2004)
Word search (1997)
I have troubles to send message out (1998)
Part 2 - [showif] if variable exists (1998)