On 6/18/05, Franz Ruebe <[EMAIL PROTECTED]> wrote: > After being happy to have no cache activated and seeing changes "on the > fly", I've had trouble this morning with editing my pub cmsui. These changes > are not shown instantly, I have to reload lenya with the tomcat manager to > see my changes. > > Is this in sitemap.xmap the reason? > <map:transformer name="i18n" logger="sitemap.transformer.i18n" > src="org.apache.cocoon.transformation.I18nTransformer"> > <catalogues default="cmsui"> > <catalogue id="cmsui" name="cmsui" > location="cocoon://i18n-catalogue/"/> > </catalogues> > <untranslated-text>untranslated</untranslated-text> > >>> <cache-at-startup>true</cache-at-startup> <<< > </map:transformer>
The i18nTransformer keeps caching until the catalogue is released. I doubt Lenya ever releases it. "cache-at-startup=true" loads the catalogues when the servlet starts rather than waiting until they are needed. You could write some JS or Java that gets the i18n transformer component and call recycle(), but it may be easier to restart Lenya since this function will only be useful during initial development. You should add a bugzilla request for the function to be added in the future. A one-click method to reload all of a publication's settings (clear the file cache, the language catalogues, logins, flow continuations, etc.) would be useful. solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
