<div dir="ltr"><div>I just enabled assets it is returning always 200 not 304... In some point is  slower than before. with ab tests I am getting worst results rather with OC4.x:) <br></div>FF is able to download multiple files in parallel faster rather than one big file every time with 200. <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><pre cols="72"><span><pre cols="72">***********************************************************</pre></span> Dr. Arman Khalatyan              eScience -SuperComputing 
 Leibniz-Institut für Astrophysik Potsdam (AIP)            
 An der Sternwarte 16, 14482 Potsdam, Germany              <br><span><pre cols="72">***********************************************************<br></pre></span></pre>
</div></div></div>
<br><div class="gmail_quote">On Mon, Jan 12, 2015 at 11:18 PM, Robin McCorkell <span dir="ltr"><<a href="mailto:rmccorkell@karoshi.org.uk" target="_blank">rmccorkell@karoshi.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Well, at this current time the database queries are not cached
    through memcache, but you will still see a performance improvement
    by enabling some kind of memcache supported by ownCloud. I'd suggest
    using APCu (or plain APC for older PHP versions), which requires
    next to no configuration after it's been installed. In addition,
    enabling the asset pipeline will greatly speed up CSS and JS
    execution, if performance is what you are after.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Robin McCorkell</font></span><div><div class="h5"><br>
    <br>
    <div>On 12/01/2015 10:15 PM, Arman Khalatyan
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Thank you for the good news,<br>
        </div>
        So If I enable memcache OC7 will go faster?:)<br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div>
            <div dir="ltr">
              <pre cols="72"><span><pre cols="72">***********************************************************</pre></span> Dr. Arman Khalatyan              eScience -SuperComputing 
 Leibniz-Institut für Astrophysik Potsdam (AIP)            
 An der Sternwarte 16, 14482 Potsdam, Germany              
<span><pre cols="72">***********************************************************
</pre></span></pre>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Mon, Jan 12, 2015 at 10:57 PM, Robin
          McCorkell <span dir="ltr"><<a href="mailto:rmccorkell@karoshi.org.uk" target="_blank">rmccorkell@karoshi.org.uk</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arman,<br>
            <br>
            Yes, it is certainly possible to do this, by means of
            memcache (see<br>
            `\OC::$server->getMemCacheFactory()`). Some parts of oC
            use the<br>
            memcache, in fact, me and Lukas were recently hooking it up
            to new<br>
            things like finding binary paths<br>
            (<a href="https://github.com/owncloud/core/pull/13192" target="_blank">https://github.com/owncloud/core/pull/13192</a>)
            or normalizing paths<br>
            (<a href="https://github.com/owncloud/core/pull/13235" target="_blank">https://github.com/owncloud/core/pull/13235</a>).
            I'm profiling using<br>
            XDebug to find slow code paths, but I'll have a look at
            database queries<br>
            and see what I can do.<br>
            <br>
            Robin McCorkell<br>
            The Linux Schools Project<br>
            <div>
              <div><br>
                On 12/01/2015 8:26 PM, Arman Khalatyan wrote:<br>
                > Hi,<br>
                > I noticed that same query set is fired on every
                reload of main login page:<br>
                > OC7 trying every time to ask DB is app enabled or
                not to generate<br>
                > css/js etc?<br>
                > Are there way to enable caching for those
                unnecessary queries? Because<br>
                > apps info is mostly static data.<br>
                ><br>
                ><br>
                > ....<br>
                >                   186 Query     SELECT
                `configvalue`, `appid` FROM<br>
                > `oc_appconfig` WHERE `configkey` = 'enabled'<br>
                >                   186 Query     SELECT
                `configvalue`, `configkey` FROM<br>
                > `oc_appconfig` WHERE `appid` = 'core'<br>
                >                   186 Query     SELECT
                `configvalue`, `appid` FROM<br>
                > `oc_appconfig` WHERE `configkey` = 'enabled'<br>
                >                   186 Query     SELECT
                `configvalue`, `appid` FROM<br>
                > `oc_appconfig` WHERE `configkey` = 'enabled'<br>
                >                   186 Query     SELECT
                `configvalue`, `appid` FROM<br>
                > `oc_appconfig` WHERE `configkey` = 'enabled'<br>
                >                   186 Query     SELECT
                `configvalue`, `appid` FROM<br>
                > `oc_appconfig` WHERE `configkey` = 'enabled'<br>
                >                   186 Query     SELECT
                `configvalue`, `appid` FROM<br>
                > `oc_appconfig` WHERE `configkey` = 'enabled'<br>
                > ......<br>
                ><br>
                >
                ***********************************************************<br>
                >  Dr. Arman Khalatyan              eScience
                -SuperComputing<br>
                >  Leibniz-Institut für Astrophysik Potsdam (AIP)<br>
                >  An der Sternwarte 16, 14482 Potsdam, Germany<br>
                >
                ***********************************************************<br>
                ><br>
                ><br>
              </div>
            </div>
            > _______________________________________________<br>
            > Devel mailing list<br>
            > <a href="mailto:Devel@owncloud.org" target="_blank">Devel@owncloud.org</a><br>
            > <a href="http://mailman.owncloud.org/mailman/listinfo/devel" target="_blank">http://mailman.owncloud.org/mailman/listinfo/devel</a><br>
            <br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>