Closing db's & caching templates (was: Shippingcalculations)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14280
interpreted = N
texte = >Ken said that webcat closes database on its own, is there a time limit.No, WebCat closes databases when it needs enough RAM to open *other* databases. It will never close databases unless it runs out of RAM ... or until you tell it to close the database.The point I was trying to make is that no matter how many databases you make available to WebCat, it is smart enough to close the ones not being used in order to open new ones. But if you have enough RAM to keep all your databases open, WebCat doesn't *have* to close them, so they will all stay open until WebCat gets a [closedatabase] command or a [flushdatabases] command directly. >As I remember webcat used to watch the modify date and reload when the >modification date changed, whatever happened to that feature if it ever >existed?That's for caching templates, not for databases. WebCat's smart template caching always loads the newest template into its template RAM cache, even when there's an older one already in thereSincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Closing db's & caching templates (was: Shippingcalculations) (Kenneth Grome 1997)
>Ken said that webcat closes database on its own, is there a time limit.No, WebCat closes databases when it needs enough RAM to open *other* databases. It will never close databases unless it runs out of RAM ... or until you tell it to close the database.The point I was trying to make is that no matter how many databases you make available to WebCat, it is smart enough to close the ones not being used in order to open new ones. But if you have enough RAM to keep all your databases open, WebCat doesn't *have* to close them, so they will all stay open until WebCat gets a [closedatabase] command or a [flushdatabases] command directly. >As I remember webcat used to watch the modify date and reload when the >modification date changed, whatever happened to that feature if it ever >existed?That's for caching templates, not for databases. WebCat's smart template caching always loads the newest template into its template RAM cache, even when there's an older one already in thereSincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.smithmicro.com/webdnasolutions/. 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:

Shopping carts and reloading pages (1997) help on brickwalls (2003) Emailer setup (1997) Encryption of E-mail (1998) Max Record length restated as maybe bug (1997) Re:quit command on NT (1997) Version f1 status (1997) 2nd WebCatalog2 Feature Request (1996) Quit revisited (1997) Nested Loops and SHOWIFs (1997) Date format problems (1997) WebTen? (1997) Exposure Opportunity....! (1999) redirect with frames (1997) Bug Report, maybe (1997) More Applescript (1997) how to get s repeatedly in and out of a form? (1999) Popup Menu Options (1998) Persistant Connections (2000) Supressing Error Messages (1998)