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:
[WebDNA] Combining searches with blank and zero values? (2011)
Calendar (1997)
Claris HomePage messes up the code (1997)
WebSTAR 2.1 freezes my Mac (1997)
Help! WebCat2 bug (1997)
Sku numbers (1997)
WebCat2 several catalogs? (1997)
Problems with WebCat (2000)
customers getting same cart (2004)
Possible Hijacking from Globix (2002)
b12 cannot limit records returned and more. (1997)
Re:no [search] with NT (1997)
Webcat XML/XSLT Performance vs. static Html (2006)
[quantity] within formulas (1997)
Orderfile context problem (1998)
So many lookers, hey smith micro (2003)
WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997)
Bit off subject -- Faxing orders (1997)
Summing fields (1997)
[Switch] - works great, suggestion (2000)