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:
WebCat2 beta 11 - new prefs ... (1997)
August 15th WebDNA Chat Transcript (2002)
Funny Chars (1999)
Pithy questions on webcommerce & siteedit (1997)
[WebDNA] install issues on Centos 6 (2017)
Problems with totals (1997)
f2 download problems (1997)
[CART] (1997)
Tax Rates returns only 0.00 (2000)
OT: SSL Certs (2005)
Running _every_ page through WebCat ? (1997)
Grouping fields help (2004)
[index] (1997)
Thanks Grant (1997)
There's a bug in the math context ... (1997)
Pull Down Menu for Catagories (2000)
Security (1998)
[protect] error page (1997)
Passing Variables.. yikes, I'm dumb (2000)
Calculating multiple shipping... (1997)