Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new cache mode 'follow' #291

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Sep 2, 2015

  1. Add a new cache mode 'follow'

    Rather than specifying 'true' or 'false' for the 'cache' option,
    specifying 'follow' will uses a changes feed to track external
    modification to cached documents.  Only documents that have been
    cached during normal write-through operation will be updated.
    
    This is useful if you have a system where multiple clients may write
    directly to the database without going through a single cache.
    
    Note: This could be made more optimal for cases where not all changes
    in the feed are cached as it pulls the full document content in the
    change feed.  Maybe a mode 'follow-lite' could enable a lightweight
    change feed followed by additional fetch if it is found that a changed
    document is cached.  If, for a particular app however, changes are
    likely to occur externally to documents in the cache, the existing
    'include_docs' mode is probably OK.
    abutcher-gh committed Sep 2, 2015
    Configuration menu
    Copy the full SHA
    644156d View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2015

  1. Configuration menu
    Copy the full SHA
    e25a05e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2852166 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2019

  1. Connection.database: Add options parameter to support disabling usage…

    … of the cache for specific databases.
    abutcher-gh committed Mar 6, 2019
    Configuration menu
    Copy the full SHA
    19f7ee4 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    dfc64ad View commit details
    Browse the repository at this point in the history
  2. core, changes: Support infinite retry for local connections and recov…

    …er broken changes feed.
    abutcher-gh committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    7427e25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bfe1c9e View commit details
    Browse the repository at this point in the history