Re: template cache problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20086
interpreted = N
texte = >While debugging pages, I've found that the most recent versions are not >always being acted upon. The only sure method is to save the revised >version under a different file name - definitely a pain. > >I've done the following to correct the situation but without success: > >-made sure that I've SAVED the changes >-set WebCatalog pref to Do not cache templates >-Netscape cache pref to 'Compare cache to page on network' to every >time. I'm not surprised you're having problems ...I've been asking about a 'secret' undocumented preference (Grant called it the TemplateCacheSize preference) for more than a week, yet no one at PCS has bothered to reply ... :(I have several unanswered questions about template caching. For example:1- What is that default value of the TemplateCacheSize preference when that pref does not appear in the WebCatalog Prefs file?2- Why doesn't that pref appear in the WebCatalog Prefs file? Is this a feature that we are not supposed to know about for some reason?3- Is there a practical upper limit to the value of this TemplateCacheSize preference?4- Does it really reflect the *number* of files allowed to be cached, and not the size limit of the cache itself?5- What's the name of the preference Grant is referring to in the following quote:... when you set the preference for #seconds between checks, it will hit the disk less often. This means you don't have to explicitly flush the cache in order to get the latest files; you only have to wait a couple seconds. It's still really fast, because if you get 200 hits/second then it can serve up hundreds of templates with zero disk hits, and then do a mod date check just once every few seconds or so.Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Template cache problem with WC4 on Mac OS X (Nitai @ Eyework 2000)
  2. Re: Template cache problem with WC4 on Mac OS X (Glenn Busbin 2000)
  3. Re: Template cache problem with WC4 on Mac OS X (Nitai @ Eyework 2000)
  4. Re: Template cache problem with WC4 on Mac OS X (Webcat 2000)
  5. Re: Template cache problem with WC4 on Mac OS X (Wyatt 2000)
  6. Re: Template cache problem with WC4 on Mac OS X (Jason Tyler 2000)
  7. Template cache problem with WC4 on Mac OS X (Wyatt 2000)
  8. Re: Template Cache problem, bombing WebSTAR problem (Dale 2000)
  9. Re: Template Cache problem, bombing WebSTAR problem (Grant Hulbert 2000)
  10. Re: Template Cache problem, bombing WebSTAR problem (Dale Therio 2000)
  11. Re: Template Cache problem, bombing WebSTAR problem (Jym Duane 2000)
  12. Re: Template Cache problem, bombing WebSTAR problem (Dale 2000)
  13. Re: Template Cache problem, bombing WebSTAR problem (Dale 2000)
  14. Re: Template Cache problem -- new plugin for ya' (Grant Hulbert 2000)
  15. Template Cache problem, bombing WebSTAR problem (Grant Hulbert 2000)
  16. OFF LIST... Re: Template Cache problem -- new plugin for ya' (Joseph D'Andrea 2000)
  17. Re: Template Cache problem -- new plugin for ya' (Dale 2000)
  18. Re: Template Cache problem -- new plugin for ya' (Grant Hulbert 2000)
  19. Re: Template Cache problem -- new plugin for ya' (dale@gmr.dresdner.net 2000)
  20. Re: Template Cache problem (Dennis J. Bonsall, Jr. 2000)
  21. More on the template cache problem... (Dennis J. Bonsall, Jr. 2000)
  22. Re: Template Cache problem -- new plugin for ya' (Grant Hulbert 2000)
  23. Re: Template Cache problem (Grant Hulbert 2000)
  24. Re: Template Cache problem (John Butler 2000)
  25. Re: Template Cache problem (Nitai @ Eyework 2000)
  26. Re: Template Cache problem (Dennis J. Bonsall, Jr. 2000)
  27. Re: Template Cache problem (Dennis J. Bonsall, Jr. 2000)
  28. Re: Template Cache problem (Grant Hulbert 2000)
  29. Re: Template Cache problem (Dennis J. Bonsall, Jr. 2000)
  30. Re: Template Cache problem (Grant Hulbert 2000)
  31. Re: Template Cache problem (dale@gmr.dresdner.net 2000)
  32. Re: Template Cache problem (Nitai @ Eyework 2000)
  33. Template Cache problem (Dennis J. Bonsall, Jr. 2000)
  34. Re: template cache problem (Kenneth Grome 1998)
  35. Re: template cache problem (Britt T. 1998)
  36. Re: template cache problem (Kenneth Grome 1998)
  37. Re: template cache problem (Peter Ostry 1998)
  38. template cache problem (John Bennett 1998)
>While debugging pages, I've found that the most recent versions are not >always being acted upon. The only sure method is to save the revised >version under a different file name - definitely a pain. > >I've done the following to correct the situation but without success: > >-made sure that I've SAVED the changes >-set WebCatalog pref to Do not cache templates >-Netscape cache pref to 'Compare cache to page on network' to every >time. I'm not surprised you're having problems ...I've been asking about a 'secret' undocumented preference (Grant called it the TemplateCacheSize preference) for more than a week, yet no one at PCS has bothered to reply ... :(I have several unanswered questions about template caching. For example:1- What is that default value of the TemplateCacheSize preference when that pref does not appear in the WebCatalog Prefs file?2- Why doesn't that pref appear in the WebCatalog Prefs file? Is this a feature that we are not supposed to know about for some reason?3- Is there a practical upper limit to the value of this TemplateCacheSize preference?4- Does it really reflect the *number* of files allowed to be cached, and not the size limit of the cache itself?5- What's the name of the preference Grant is referring to in the following quote:... when you set the preference for #seconds between checks, it will hit the disk less often. This means you don't have to explicitly flush the cache in order to get the latest files; you only have to wait a couple seconds. It's still really fast, because if you get 200 hits/second then it can serve up hundreds of templates with zero disk hits, and then do a mod date check just once every few seconds or so.Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net 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:

Associative lookup style? + bit more (1997) Weird cart problem (webcat 2.x) (2000) [isfile] ? (1997) [LOOKUP] (1997) Am I going senile? (Price recalc based on quantity) (1997) Include file not working on remote directory. (2004) Multiple download orders of the same product? (1997) Vann's - nice new WebCatalog site (1998) [format 40s]text[/format] doesn't work (1997) Was code to phantom spacing -- now BBEdit [!][/!] (2001) Single Link browsing (1997) NT Setup (1998) ShowNext and random sort (1998) Running _every_ page through WebCat ? (1997) Sandboxes (2004) [writefile] (1997) [WebDNA] Why doesn't middle work as expected? (2009) [WebDNA] [OT] Social Media Share Buttons (2013) Off-Topic: Optimal WebSTAR settings for WebDNA plugin v4.5 (2002) Multiple catalog databases and showcart (1997)