[opencms-dev] Problem with configuration FlexCache

Paul-Inge Flakstad flakstad at npolar.no
Fri Dec 4 10:54:02 CET 2015


Hi Deiverson,

It might not solve your empty flexcache problem, but you probably want to change your cache setting to “uri;timeout=60”.

Applying “true”/”always” results in one single cached version, AFAIK. So in your case, you’d end up with 1 news article instead of 65000.

Hope this helps & cheers,
Paul

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Deiverson Silveira
Sent: 3. desember 2015 13:31
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Problem with configuration FlexCache

Hi Kai,
I set properties cache "always;timeout=60", I trye "true;timeout=60" and only try "true"... in my template_news.jsp...
And I set in my code buffer="4096kb" autoFlush="true" for optimized response...
I try other combination, buffer="8kb" no define autoFlush, but my FlexCache is empty...



2015-12-03 10:08 GMT-02:00 Schliemann, Kai <K.Schliemann at comundus.com<mailto:K.Schliemann at comundus.com>>:
Hi Deiverson,
the Flex Cache only works in the Online project and you have to set the Flex Cache directives on your JSPs:
http://documentation.opencms.org/opencms-documentation/caching-in-opencms/the-flex-cache/index.html#2

Be careful with the settings in order to not cache too much.

HTH
Best regards
Kai

Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org>] Im Auftrag von Deiverson Silveira
Gesendet: Donnerstag, 3. Dezember 2015 11:38
An: The OpenCms mailing list <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Betreff: [opencms-dev] Problem with configuration FlexCache

Hi List,
I need configure my FlexCache for improve performance. I have folder with 65000 news xmlcontent, a set cache with true, configuration opencms-system.xml set:
              <cache-enabled>true</cache-enabled>
              <cache-offline>false</cache-offline>
              <maxcachebytes>4000000000</maxcachebytes>
              <avgcachebytes>2000000000</avgcachebytes>
              <maxentrybytes>400000000</maxentrybytes>
              <maxkeys>50000</maxkeys>
I restart server, touch folder (news 65000 files) and publish and access page news, but dont cache...
I need help foi active flexcache, where is FlexCache is physically stored on the server ? Enabling effectively FlexCache ?
Thanks for advanced,

--
www.solutioncms.com<http://www.solutioncms.com>
The Brazilian
Official Provider OpenCms

_______________________________________________
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






--
www.solutioncms.com<http://www.solutioncms.com>
The Brazilian
Official Provider OpenCms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151204/8fb1e8f4/attachment.htm>


More information about the opencms-dev mailing list