RE: Formulas.db + Users.db
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12177
interpreted = N
texte = From my understanding, here's what the following commands do:$flushcache$quit$closedatabase$flushcache empties the template RAM cache, which guarantees that from thatpoint on, all pages served will be the most recent ones. This command does*nothing* to affect the databases held in RAM.Note: From my understanding, this command is obsolete. I recently learnedthat WebCat2 now provides Smart Caching. This means that WebCat2 comparesthe modification date of a cached template with the modification date ofthe same template on disk ... and if the disk version is more recent, thattemplate is updated in the cache before it is served. This means you neverhave to worry about getting the most recent version of a cached template,because WebCat2 takes care of that for you automatically. Cool, very cool... :)$quit closes *all* the databases, which means the database contents thatwere in RAM are immediately written to the disk. Therefore, if you plan tomake any changes to a database manually, you have to close it first, orWebCat2 will overwrite your changes with the RAM version of that db filethe next time it is closed.The $quit command does *not* quit WebCat2. It *used to* quit the CGI, butit doesn't do that anymore. You cannot quit the plugin anyways, at leastwithout quitting WebSTAR ... and to quit the CGI you must do so manually -not by using the $quit command.$closedatabase closes the *one* specific database you name as a parameterto this command. Use this command to close one database while leaving allthe others open.Sincerely, Ken GromeWebDNA Solutions
Associated Messages, from the most recent to the oldest:
From my understanding, here's what the following commands do:$flushcache$quit$closedatabase$flushcache empties the template RAM cache, which guarantees that from thatpoint on, all pages served will be the most recent ones. This command does*nothing* to affect the databases held in RAM.Note: From my understanding, this command is obsolete. I recently learnedthat WebCat2 now provides Smart Caching. This means that WebCat2 comparesthe modification date of a cached template with the modification date ofthe same template on disk ... and if the disk version is more recent, thattemplate is updated in the cache before it is served. This means you neverhave to worry about getting the most recent version of a cached template,because WebCat2 takes care of that for you automatically. Cool, very cool... :)$quit closes *all* the databases, which means the database contents thatwere in RAM are immediately written to the disk. Therefore, if you plan tomake any changes to a database manually, you have to close it first, orWebCat2 will overwrite your changes with the RAM version of that db filethe next time it is closed.The $quit command does *not* quit WebCat2. It *used to* quit the CGI, butit doesn't do that anymore. You cannot quit the plugin anyways, at leastwithout quitting WebSTAR ... and to quit the CGI you must do so manually -not by using the $quit command.$closedatabase closes the *one* specific database you name as a parameterto this command. Use this command to close one database while leaving allthe others open.Sincerely, Ken GromeWebDNA Solutions
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:
Modify instead of Add (2000)
WebCat2: Items xx to xx shown, etc. (1997)
drop down list (2000)
Re:no [search] with NT (1997)
Plugin or CGI or both (1997)
Just Testing (1997)
japanese characters (1997)
Lost and Recovered. (1998)
It just Does't add up!!! (1997)
Folder Follies (1998)
[WebDNA] API - YouTube (2011)
problems with 2 tags shakur (1997)
Changing in a founditems tag (1999)
Help with Repost Data msg from form (1997)
Adding Multiple Items (1999)
Re(2): SSL, WebSTAR, WebCatalog (1998)
mass mailing (1998)
Word search (1997)
SSL with IIS 4.0 (1998)
[WebDNA] Authnet temporarily down? (2009)