Files
sammykumar-ComfyUI-SwissArm…/dev-docs/infrastructure/caching/README.md
T

1.8 KiB

Caching Documentation

Documentation for caching strategies, optimization, and verification systems in ComfyUI-SwissArmyKnife.

📄 Documentation Files

Core Caching

Browser Cache Busting

Verification & Testing

🎯 Quick Reference

Cache Types

  1. LoRA Hash Cache: cache/lora_hash_cache.json - Stores LoRA model hashes
  2. Gemini Descriptions: cache/gemini_descriptions/ - AI-generated descriptions
  3. Browser Cache: JavaScript/CSS file versioning

Key Features

  • Persistent Caching: Long-term storage of expensive computations
  • Cache Busting: Automatic versioning for JavaScript/CSS updates
  • Verification: Automated cache integrity checks
  • Optimization: Performance improvements through smart caching

🔧 Cache Management

Clear Cache

# Clear LoRA hash cache
rm cache/lora_hash_cache.json

# Clear Gemini description cache
rm -rf cache/gemini_descriptions/*

# Clear browser cache (user action)
# Hard refresh: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac)

Category: Infrastructure Status: Stable