[opencms-dev] Query about caching detail pages in OpenCms
Michael Emmerich
m.emmerich at alkacon.com
Tue Jul 29 07:53:08 CEST 2025
Hello Chema,
first of all, the Flex-Cache DOES work with detail pages and caches
multiple variation of the formatter used in the detail container.
The steps you describe sound correct, so you should check the following:
- Are you testing this in the Offline project? The Flex-Cache is not
used in the Offline-Project, only in the Online project. So you need to
access your pages online to see if something in the cache statistics
- Even if you do not set any caching parameters to a jsp, it will be
shown in the cache statistics with the key "never". So does your
formatter jsp show up there?
Kind regards,
Michael
Am 23.07.25 um 15:05 schrieb Chema Saga via opencms-dev:
>
> Hi everyone,
>
> I have a question regarding page caching in OpenCms and would
> appreciate your help.
>
> Context:
>
> *
>
> I have a detail page displaying a large list of documents.
>
> *
>
> It currently takes 4-5 seconds to load due to the data volume.
>
> *
>
> To optimize it, I tried caching it using the
> |cache=container-element;locale;uri;params;| parameter in the JSP
> /formatter/ properties.
>
> *
>
> However, no cache entry is generated
>
> My questions are:
>
> 1. Is it possible to cache detail pages using OpenCms FlexCache?
> 2. If so, what configuration or steps are required to ensure that
> entries are actually stored and served from the cache?
>
> I’d appreciate any guidance, code examples, or links to relevant
> documentation!
>
> Thanks in advance,
> Chema.
>
> _______________________________________________
> 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
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
--
Michael Emmerich
Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com
http://www.opencms.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20250729/9c42baa1/attachment.htm>
More information about the opencms-dev
mailing list