• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Task
    • Leverage Caching in Books

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Leverage Caching in Books

    • Issue Tools
      • View Changes
    1. issueid=2656 April 20, 2012 10:43 PM
      pegasus pegasus is offline
      VaultWiki Team
      Leverage Caching in Books

      Whether it appears in a chapter or on the book's index, the book TOC is a potentially long list with multiple levels that takes at least 2 queries in VaultWiki 3, and more like 5 in VaultWiki 4, to fully construct.

      Further, pages that are chapters take between 0 and 4 queries to form the previous/next chapter links in VaultWiki 3, and potentially more than that in VaultWiki 4.

      For both of these, the results are fairly static as the chapter order is not dependent on things like last-update times. These should be cached using VaultWiki 4's block cache (though a slight stretch to call the nav links a block) so that these expensive links are only formed once (never expires) and the cache is only cleared if the chapters in the book are added, removed, reordered, or renamed.
    Issue Details
    Issue Number 2656
    Issue Type Task
    Project VaultWiki 4.x Series
    Category Performance
    Status Completed
    Priority 6 - Dev-Related Tasks
    Target Version 3.x
    Resolved Version 4.0.0 Alpha 1
    Milestone VaultWiki 4 Alpha 1
    Software DependencyAny
    License TypePaid
    Votes to perform 0
    Votes not to perform 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 20, 2012 11:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      Both cases are now handled by the block cache.

      Originally reported for 3.0.17.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 10:44 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.