Thanks for your answers. The aim is to generate a low-charge site for the server, with the possibility to refresh cache page content that have been updated.
About the static cache method, there is in the file staticcache.ini.append.php the following lines :
A little research on the docs will help you a lot, here you can find all the info needed to set up static cache: http://ez.no/doc/ez_publish/technical_manual/3_9/reference/configuration_files/staticcache_ini
and a must read for good understanding of cache mechanism in eZ: http://ez.no/developer/articles/ez_publish_performance_optimization_part_3_of_3_practical_cache_and_template_solutions/caching_overview
hth!
--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205
please do not recommend staticcache anymore... there are no advantages that you get instead of using a reverse proxing... use http headers cache control
For your information there where some changes recently:
* 3.9.3 MaxCacheDepth was not enforced by the code that creates the static cache on demand while publish / editing content, it was only used by the makestaticcache.php script. * 3.10 / 4.0: Added delayed static cache clearing as a cronjob, simply because clearing static cache can be time consuming.
When you look for documentation on settings, always take a look in the ini files, then the documentation, and then search for it in the forum:
Added benefit of this cronjob enhancement is that if you use Akamai / Squid / Varnish (Reverse Proxy), you can make a copy of this cronjob and purge their cache instead of dealing with the static cache..
If I set StaticStorageDir to go in /home/path_ez/<i>static</i>, after running <i>php bin/php/makestaticcache.php -f -s my_siteaccess</i>, it supposes to write html files in the directory <i>static</i> or maybe in <i>static/my_siteaccess</i>, doesn't it? If not, where are going the html files? I warmed you, silly question…
Other point, I can't deal with <i>HostName=localhost</i>, I've tried either <i>HostName=mysite.com</i>, no mre luck. Did I forget something?
I'm still trying to deal with <i>HostName</i> in [CacheSettings] of my staticcache.ini.append.php. I'd tried <i>HostName=localhost</i> and <i>HostName=mysite.com</i>, with no chance. The debug always says : <i>Could not grab content, is the hostname correct and Apache running?</i>