<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
      Thanks, Enrico! Indeed, people publish very often here! We'll try
    Varnish cache as well.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Em 16/12/2015 05:00, Enrico Marongiu
      escreveu:<br>
    </div>
    <blockquote
cite="mid:CAPMdg48hszRFeAFWats+2Wbr2Ppcp_GEySR7LYb7Q+152KDHWQ@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hi Alexandre,<br>
        Please consider that flex cache is cleaned for every publish
        event.<br>
        If you browse the list history (or google for it) you'll find
        that flex cache cannot be informed of al the resources that
        change after a publish, I.e. if you publish a template or an
        included jsp, all the cached resources that are rendered with
        that jsp must be cleaned.<br>
        We worked around this by putting a varnish layer in front of
        opencms and configuring jsps so that they return the
        "appropriate" cache directives.</p>
      <p dir="ltr">Cheers,<br>
        Enrico </p>
      <div class="gmail_quote">Il 15/dic/2015 20:08, "Alexandre Portugal
        Sousa" <<a moz-do-not-send="true"
          href="mailto:alexandre.portugal@almg.gov.br">alexandre.portugal@almg.gov.br</a>>
        ha scritto:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">   Hi.<br>
            <br>
              I cannot understand the flex cache behavior of my
            server...  Long before current memory use reaches the
            maximal, the cache is cleaned.  <br>
            <br>
              How <maxkeys> relates to 'files' and 'variations'?
            Could it explain somehow the "early-cleaning" problem?<br>
            <br>
              Here's my config:<br>
            <br>
            <flexcache><br>
                        <cache-enabled>true</cache-enabled><br>
                        <cache-offline>false</cache-offline><br>
                       
            <maxcachebytes>80000000</maxcachebytes><br>
                       
            <avgcachebytes>60000000</avgcachebytes><br>
                       
            <maxentrybytes>4000000</maxentrybytes><br>
                        <maxkeys>5000</maxkeys><br>
                    </flexcache><br>
            <br>
              And here's the flex cache status right before being
            cleaned (I'm sure you don't need to understand portuguese):<br>
            <br>
            <img src="cid:part2.05030607.01040807@almg.gov.br" alt=""><br>
            <div><br>
                 Thanks!<br>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          This mail is sent to you from the opencms-dev mailing list<br>
          To change your list options, or to unsubscribe from the list,
          please visit<br>
          <a moz-do-not-send="true"
            href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev"
            rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
          <br>
          <br>
          <br>
          <br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>



</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Atenciosamente, <br>
      <br>
      <b>Alexandre Portugal Sousa</b> <br>
      GTI - Gerência-Geral de Tecnologia da Informação <br>
      GGov - Gerência de Governo Eletrônico <br>
      <a href="mailto:alexandre.portugal@almg.gov.br">alexandre.portugal@almg.gov.br</a>
      <br>
      (31) 2108-7025 <br>
    </div>
  </body>
</html>