From: Victor S. <fou...@gm...> - 2007-05-31 17:09:46
|
On 5/31/07, Marcus Clements <ma...@br...> wrote: > The config - static member variable, serialized to database, Serialized TO database when admin's change configuration Serialized FROM database every page request >: serialized to file - when, why, who by? Serialized TO file explicitly by admin via /media/export for purpose of backup Serialized FROM file explicitly by admin via /media/import for purpose of restoring from backup This method can also be used to transfer a config from once server to another (take the text file from /export, search and replace http://server1 with http://server2 and them /import on another machine) > Template cache - is there more than the phptal_cache directory? No, no other dir. This is all 'magic' from phpTAL. Cache goes stale when our code requesting the template is newer than the generated template. This is right about 99% of the time but occasionally gets out of sync so ?update=1 will nuke it. VS |