• 
      

    Add a guide on caching data.

    Review Request #14873 — Created March 5, 2026 and submitted

    Information

    Djblets
    release-5.x

    Reviewers

    This introduces the first of a series of caching guides, focusing on
    using cache_memoize() and cache_memoize_iter(). This covers basic
    usage, iterables, force-overrides, large data, compression, encryption,
    and locking, all with examples covering both functions.

    Built the docs. Checked for build errors, spelling errors, and bad
    links.

    Summary ID
    Add a guide on caching data.
    This introduces the first of a series of caching guides, focusing on using `cache_memoize()` and `cache_memoize_iter()`. This covers basic usage, iterables, force-overrides, large data, compression, encryption, and locking,all with examples covering both functions.
    064d96e7ff38d4df992c45465c83d9bfbe441fdc
    Description From Last Updated

    Typo in description: locking,all -> locking, all

    daviddavid

    Typo: of of

    daviddavid

    Can we include an import for Iterator?

    daviddavid

    It's probably more correct to say this returns Iterator

    daviddavid

    Typo: ofr -> for Though it might be better to say something like "This is always enabled for cache_memoize_iter"

    daviddavid
    david
    1. 
        
    2. Show all issues

      Typo in description: locking,all -> locking, all

    3. Show all issues

      Typo: of of

    4. docs/djblets/guides/caching/caching-data.rst (Diff revision 1)
       
       
       
       
       
      Show all issues

      Can we include an import for Iterator?

    5. Show all issues

      It's probably more correct to say this returns Iterator

    6. Show all issues

      Typo: ofr -> for

      Though it might be better to say something like "This is always enabled for cache_memoize_iter"

    7. 
        
    chipx86
    david
    1. Ship It!
    2. 
        
    maubin
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.x (c48b9d1)