diff --git a/.gitignore b/.gitignore
index 427847af023de7e0b4e25b93e408b39744916e9f..c88708be60b7c806f72cd91a16b057e4739f1d60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,7 @@ web/.netlify
 CMakeUserPresets.json
 
 .snakemake
+
+# clangd and other language servers' caches
+.cache
+.ccls-cache