Dear Theodoros,

On 07/25/2012 06:54 PM, Theodoros Theodoropoulos wrote:
Can I delete (or somehow re-generate) these cached semi-static
pages?

yes, you can simply get rid of the static cache files, as they would be
re-generated automatically when accessed (they are otherwise only
updated if the main source file has changed, which was not your case):

$ mv /opt/invenio/var/cache/webdoc/* /tmp/

I've updated invenio-local.conf file with the new value for
CFG_SITE_URL and  run  inveniocfg --reset-sitename (also tried
--update-all).

The cache files should ideally be updated/removed automatically
when CFG_SITE_NAME, CFG_SITE_URL, etc. are updated and 'inveniocfg'
is run. I will create a ticket to change this (in addition we might also
want to use relative URLs in help pages, to stick with user preference
to use http or https) and update the related HOWTO guide at:
<https://invenio-software.org/wiki/HowTo/HowToChangeSiteUrl>

(note that you refer to sitename for CFG_SITE_URL, while sitename would
rather apply to CFG_SITE_NAME and CFG_SITE_NAME_INTL*, Just wanted to
point that out, as 'inveniocfg --reset-sitename' will account for site
name change, not URL change)

Best regards
--
Jerome Caffaro

Reply via email to