diff options
| author | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-01-30 14:31:51 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-01-30 14:31:51 +0200 |
| commit | 5061bd8dcd9f4d0e874884272f88b10892d15da3 (patch) | |
| tree | 15ad9c650ca8d066693ba7e19cf359ed1ad58ae0 /doc/modules | |
| parent | 4c025a4a64ee605c0e6405ab8b60b2b31c84071a (diff) | |
Rework the caching logic
The main changes from before are:
- Each project has its own cache file
- Cache files are consulted only when you request the files of some project
This makes caching both more robust and faster, as before the cache file
for all projects was loaded when projectile-mode was enabled.
Diffstat (limited to 'doc/modules')
| -rw-r--r-- | doc/modules/ROOT/pages/configuration.adoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/modules/ROOT/pages/configuration.adoc b/doc/modules/ROOT/pages/configuration.adoc index 3b36023..dc46141 100644 --- a/doc/modules/ROOT/pages/configuration.adoc +++ b/doc/modules/ROOT/pages/configuration.adoc @@ -153,6 +153,10 @@ The project cache is persistent and will be preserved during Emacs restarts. You can purge an individual file from the cache with `M-x projectile-purge-file-from-cache` or an entire directory with `M-x projectile-purge-dir-from-cache`. +NOTE: Prior to Projectile 2.9 the cache for all projects was serialized to the same file. +In Projectile 2.9 this was changed and now each project has it's own cache file relative to +the project's root directory. + === File exists cache Projectile does many file existence checks since that is how it identifies a |
