[opencms-dev] Caching of formatters on resource level
Kai Widmann
Widmann at mediaworx.com
Wed Feb 19 13:27:24 CET 2014
Hi Kai,
I just wanted to let you know that it worked like a charm.
Thanks again.
Kai
Am 14.02.2014 um 15:46 schrieb "Schliemann, Kai" <K.Schliemann at comundus.com<mailto:K.Schliemann at comundus.com>>:
Hi Kai,
I think the cache parameter is „container-element”.
HTH
Regards
Kai :)
Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org<mailto:dev-bounces at opencms.org>] Im Auftrag von Kai Widmann
Gesendet: Freitag, 14. Februar 2014 14:42
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Caching of formatters on resource level
Hi Stephan,
I don’t tell the container page what to display. The container page contains these resources (they were added by the editors using drag and drop), so the container page itself “knows” what to display, hence no URL parameters. Otherwise it would be simple.
I’ll give you an example: Let’s say I have a content type named “imagegallery”. If an editor chooses to add multiple image galleries to one page, the container page contains (or is referencing) multiple distinct “imagegallery” resources all displayed by the same formatter. How could those be cached individually?
Cheers
Kai Widmann
Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Stephan Hartmann
Gesendet: Freitag, 14. Februar 2014 10:37
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Caching of formatters on resource level
Hi Kai,
How do you tell the container page which resource it should display? E.g. if you use a request parameter, your cache setting would be "params".
Best regards,
Stephan
2014-02-13 17:58 GMT+01:00 Kai Widmann <Widmann at mediaworx.com<mailto:Widmann at mediaworx.com>>:
Hey there,
is there a way to cache formatters based on the displayed resource? We're using a container page to display multiple resources of the same content type using the same formatter. If caching is turned on, only the first formatter output is cached, all subsequent occurrences of the formatter display the same content.
Surely there is a cache directive that could be used for such a scenario, but if I look at the FlexCache documentation I can't seem to find it.
Any help is greatly appreciated
Cheers
Kai Widmann
_______________________________________________
Kai Widmann
mediaworx berlin AG
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list