Variable: projectile-enable-caching

projectile-enable-caching is a customizable variable defined in projectile.el.

Value

nil

Documentation

When t enables project files caching.

Normally the cache lasts for the duration of your Emacs session. If you want the cache to persist between Emacs sessions you should set this option to persistent.

Project caching is automatically enabled by default if you're using the native indexing method.

This variable was added, or its default value changed, in projectile version 2.9.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-enable-caching (eq projectile-indexing-method 'native)
  "When t enables project files caching.

Normally the cache lasts for the duration of your Emacs session.
If you want the cache to persist between Emacs sessions you
should set this option to `persistent'.

Project caching is automatically enabled by default if you're
using the native indexing method."
  :group 'projectile
  :type '(choice
          (const :tag "Disabled" nil)
          (const :tag "Transient" t)
          (const :tag "Persistent" persistent))
  :package-version '(projectile . "2.9.0"))