Author
|
Message
|
Thibaut Marin-Cudraz
|
Friday 05 October 2007 2:17:50 am
Hi, is it possible to convert an eZ Publish 3.10 site in a full-HTML version ? However, it must be possible to make updates of the content of this HTML version. Does anyone has already done this work or have an idea ? Thanks for all
|
Lazaro Ferreira
|
Friday 05 October 2007 2:38:13 am
Hi, Which is the purpose ? , website mirroring ?
Lazaro
http://www.mzbusiness.com
|
Xavier Serna
|
Friday 05 October 2007 3:15:34 am
The best thing you can do is generate an static cache version of the site. More info here: http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files/site_ini/contentsettings/staticcache hth!
--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205
|
Thibaut Marin-Cudraz
|
Friday 05 October 2007 7:37:22 am
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 :
[CacheSettings]
HostName=localhost
StaticStorageDir=static MaxCacheDepth=3 I would like to know which means precisly the three attribute above. If someone can help me :). Thanks a lot.
|
Xavier Serna
|
Friday 05 October 2007 8:44:46 am
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
|
Björn Dieding@xrow.de
|
Friday 05 October 2007 8:50:49 am
please do not recommend staticcache anymore... there are no advantages that you get instead of using a reverse proxing... use http headers cache control
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/
|
André R.
|
Friday 05 October 2007 9:02:12 am
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: http://pubsvn.ez.no/nextgen/stable/3.10/settings/staticcache.ini
Cronjob: http://pubsvn.ez.no/nextgen/stable/3.10/cronjobs/staticcache_cleanup.php 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..
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|
Fabrice Girardot
|
Thursday 11 October 2007 8:59:07 am
Hi, This is a silly question. Sorry. 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? Thank you for your help!
--
Fabrice
|
Fabrice Girardot
|
Friday 12 October 2007 1:06:24 am
Hi, 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> Any Ideas? Thx
--
Fabrice
|
André R.
|
Friday 12 October 2007 4:25:34 am
Add something like 'echo $source;' on line ~448 in kernel/classes/ezstaticcache.php to find out what url ezp is trying to fetch the content from..
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|
Fabrice Girardot
|
Monday 15 October 2007 12:46:50 am
Many thanks André, it works fine! This *capital* information should be by default in the debug!
--
Fabrice
|