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 to 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.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/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 to 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 '(radio
(const :tag "Disabled" nil)
(const :tag "Transient" t)
(const :tag "Persistent" persistent)))