Forum Replies Created

Viewing 1 replies (of 1 total)
  • Plugin Author Dave Kaplan

    (@dkexygy)

    Hi there,

    You can certainly enable caching on only certain parts of the page, that is the main point of using FragmentCache.

    So you could use:
    $cache = new FragmentCache(array('key' => 'unique-key-for-section-1'))

    that wraps one part of the page, leave the sidebar uncached, and then
    $cache = new FragmentCache(array('key' => 'unique-key-for-section-2'))

    for the part after the sidebar (just as an example). As long as the sidebar is not wrapped in a FragmentCache block, it will remain uncached.

    Using this plugin, all the caching must be set up manually in the areas that you want to cache. So as long as you don’t stick any FragmentCache references in the /store/ pages, nothing will get cached.

Viewing 1 replies (of 1 total)