What does the 'Generate Config Cache' link do?
It runs four Xanthia AdminAPI functions:
1) writesettingscache (also run in the updateConfig function)
2) writezonescache (also run in the blockControlRule, and other block control functions)
3) writepalettescache (also run in the updateColors & setPalette functions)
4) writethemetplcache (also run in the modifyZones and other zone control and block control functions)
None of these functions write anything to the database. The result of each function is listed below. How the results are used is yet to be determined, but I suspect that it is useful only if Xanthia's 'enable caching' feature is checked.
#1 writes a file to the pnTemp/Xanthia_Config/ directory called [themeName].settings.php. It contains information similar to the following:
<?php
$this->config['righton'] = '0';
$this->config['indexcol'] = '1';
$this->config['rcolwidth'] = '175';
$this->config['lcolwidth'] = '160';
$this->config['pagewidth'] = '100%';
?>
#2 writes several files to the pnTemp/Xanthia_Config/ directory called [themeName].[moduleName].config.php. There is one file in the directory for each module installed in your site. Each file seems to be identical and each only contains "", so the function of these cache files is unknown. I suspect that these may be useful in Xanthia's Block Control mechanism, but don't use that feature..
#3 writes a file to the pnTemp/Xanthia_Config/ directory called [themeName].palettes.php. It contains information similar to the following:
<?php $colors =
array('palette_name' =>
'greys',
'background' =>
'#FFFFFF',
'color1' =>
'#cccccc',
'color2' =>
'#000000',
'color3' =>
'#eeeeee',
'color4' =>
'#000000',
'color5' =>
'#000000',
'color6' =>
'#cccccc',
'color7' =>
'#cccccc',
'color8' =>
'#cccccc',
'sepcolor' =>
'#FFFFFF',
'text1' =>
'#666666',
'text2' =>
'#000000',
'link' =>
'#333333',
'vlink' =>
'#333333',
'hover' =>
'#333333');
?>
#4 writes several files to the pnTemp/Xanthia_Confirg/ directory called [themeName].[moduleName].tplconfig.php. There is one file in the directory for each module installed in your site. I suspect that these may be useful in Xanthia's Block Control and Zone control mechanism, but don't use that feature. These files all seem to be identical and each contains information similar to the collowing:
<?php $themezones =
array ( '0' =>
array ( 'label' =>
'*home',
'active' =>
'1',
'type' =>
'module'),
'1' =>
array ( 'label' =>
'ccblock',
'active' =>
'1',
'type' =>
'block'),
...
[continues
]...
'8' =>
array ( 'label' =>
'master',
'active' =>
'1',
'type' =>
'theme') );
$zonetemplates =
array ( '*home' =>
'home.htm',
'ccblock' =>
'ccblock.htm',
'News-article' =>
'News-article.htm',
'News-index' =>
'News-index.htm',
'table2' =>
'table2.htm',
'table1' =>
'table1.htm',
'rsblock' =>
'rsblock.htm',
'lsblock' =>
'lsblock.htm',
'master' =>
'master.htm');
$blocktemplates =
" ";
?>
IF ANYONE ELSE HAS MORE INSIGHT ON THIS TOPIC, PLEASE ADD TO THIS THREAD!