Hi Frédéric,

Basically Jahia does indeed use the user-agent to cache the pages, as well as the current logged in user. The user agent must be similar to the rules defined in the jahia\WEB-INF\etc\outputcache\cache-config.xml file, otherwise it will not work.

Regards,
Serge Huber.

[EMAIL PROTECTED] wrote:


Hi everybody,

I have a problem with the management of the cache. I am running a script which is supposed to cache the entire site (just for one virtual site) after each restart. And I have a strange behavior. I am using wget to retrieve pages. In fact I am downloading the site map with the "expandall" attribute to retrieve all urls for each pages of the portal. Then I use wget on each link. The format of the url is _http://my.domain.com/jahia/Jahia/pid/XXX_ (I have removed /cache/offonce/ inside the url)
And it doesn't work. But when I am using my browser (Mozilla or Internet Explorer) the page is cached after the first attempt.
My question is why is it cached when I am using my browser and why it is not cached with wget (even if I use –user-agent=MSIE)? Should I modify jahia.properties or cacheconfig.xml because wget sent extra parameters?


Thanks for any help.

Frédéric


:.________________
CONFIDENTIALITE : Ce message et les éventuelles pièces attachées sont confidentiels. Si vous n'êtes pas dans la liste des destinataires, veuillez informer l'expéditeur immédiatement et ne pas divulguer le contenu à une tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas stocker ou copier l'information qu'il contient sur un quelconque support.


CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.




Reply via email to