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, use WebSTAR with the appropriate plugins for that. WebCat2 definitely 'smart caches' .html and .tmpl files (assuming you're using suffix mapping for these 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 to be 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 all your non-graphic files seems to me to be the fastest setup I've been able to create ... short of using a separate RAM-caching graphics server like RushHour or PostHaste, of course.StarNine claims that there's not much of a speed advantage to these RAM-caching graphics servers when compared to using their plugins with WebSTAR, but I have my doubts.It seems to me that anything that takes a load off WebSTAR - especially a program designed exclusively for RAM-caching and graphics serving - would be faster that WebSTAR.These programs do not have the overhead of checking security settings or realms when serving graphics (because graphics are considered unsecure files that can be served to anyone who requests them), and they are not slowed by the MacOS file system because the image files they serve are cached at startup - avoiding the file system at serving time.Sincerely, Ken Grome WebDNA Solutions http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Speed Optimization - Mac (grichter@panavise.com (Gary Richter) 1997)
  2. Re: Speed Optimization - Mac (Kenneth Grome 1997)
  3. Speed Optimization - Mac (Marty Schmid 1997)
>-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, use WebSTAR with the appropriate plugins for that. WebCat2 definitely 'smart caches' .html and .tmpl files (assuming you're using suffix mapping for these 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 to be 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 all your non-graphic files seems to me to be the fastest setup I've been able to create ... short of using a separate RAM-caching graphics server like RushHour or PostHaste, of course.StarNine claims that there's not much of a speed advantage to these RAM-caching graphics servers when compared to using their plugins with WebSTAR, but I have my doubts.It seems to me that anything that takes a load off WebSTAR - especially a program designed exclusively for RAM-caching and graphics serving - would be faster that WebSTAR.These programs do not have the overhead of checking security settings or realms when serving graphics (because graphics are considered unsecure files that can be served to anyone who requests them), and they are not slowed by the MacOS file system because the image files they serve are cached at startup - avoiding the file system at serving time.Sincerely, Ken Grome WebDNA Solutions http://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)