We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29653
    • 9 Posts
    You must use Cached Page with uncached CacheAccelerator call:

    Page Cache is checked.
    [!CacheAccelerator? 
    &snippetToCache=`Ditto` 
    &cacheId=`news`
    &display=`20`
    !]
    
      • 4310
      • 2,310 Posts
      When I have a cached page & uncached Cache Accelerator snippet call I get :
      MySQL: 0.0883 s, 264 request(s), PHP: 0.1329 s, total: 0.2212 s, retrieved from cache
      In my folder assets/plugins/cacheaccelerator/cache/ I have only one file named application with no data in it.
      Is that correct?
      I will try with pagination later.
        • 29653
        • 9 Posts
        Quote from: bunk58 at Apr 03, 2011, 09:02 AM

        When I have a cached page & uncached Cache Accelerator snippet call I get :
        MySQL: 0.0883 s, 264 request(s), PHP: 0.1329 s, total: 0.2212 s, retrieved from cache
        In my folder assets/plugins/cacheaccelerator/cache/ I have only one file named application with no data in it.
        Is that correct?
        I will try with pagination later.
        Try logout from manager or open in another browser.

        Or you make ditto call with many ditto calls in them?
        If so, then you should set all ditto calls through CacheAccelerator, but i don’t know what results will be.
          • 29653
          • 9 Posts
          You can enable logging by setting logMessages parameter:
          [!CacheAccelerator? 
          &snippetToCache=`Ditto` 
          &cacheId=`news`
          &logMessages=`1`
          &parents=`1`
          &display=`20`
          !]
          
            • 4310
            • 2,310 Posts
            Opening in a new browser generates the cache files correctly smiley
            If so, then you should set all ditto calls through CacheAccelerator, but i don’t know what results will be.
            Tried the second level Ditto call inside the Ditto tpl with CacheAccelerator, but didn’t get the expected results.
              • 29653
              • 9 Posts
              Quote from: bunk58 at Apr 03, 2011, 10:40 AM

              Tried the second level Ditto call inside the Ditto tpl with CacheAccelerator, but didn’t get the expected results.
              Have you set different cacheId on all CacheAccelerator calls?
                • 4310
                • 2,310 Posts
                Just tried with a unique cacheId for each second level Ditto/CacheAccelerator call, but still don’t get the correct results.
                Using a standard cached Ditto call works okay.