Files
Sam Kumar 54319b0a18 feat(ui-widgets): Implement Control Panel JSON Data Format Fix
- Resolved issue with Control Panel displaying concatenated string instead of individual fields from MediaDescribe node.
- Updated backend to send structured JSON data instead of formatted string.
- Enhanced frontend to parse JSON and display fields in a two-column layout for improved readability.

fix(ui-widgets): Add Dimensions Display Widget Troubleshooting Guide

- Created a comprehensive troubleshooting guide for the Dimensions Display Widget.
- Included quick verification steps, common issues, and detailed testing procedures.

docs(ui-widgets): Document Dimensions Display Widget Implementation

- Added documentation for the Dimensions Display Widget, detailing its features and UI behavior.
- Included examples and troubleshooting tips for users.

fix(ui-widgets): Final String Widget Population Fix

- Fixed issue where final_string widget was not being updated post-execution.
- Implemented onExecuted methods to ensure widget reflects the generated description.

docs(ui-widgets): Update README with UI Widgets Documentation

- Compiled and organized documentation for various UI widgets.
- Included links to related documentation and implementation patterns.

feat(ui-widgets): Restore Seed Widget Functionality

- Reintroduced seed widget for MediaDescribe node to enable randomization.
- Added functionality to force re-execution based on seed changes.

fix(ui-widgets): Address Widget Visibility Issues

- Resolved issues with unwanted widgets appearing in MediaDescribe node.
- Improved widget management to ensure correct visibility based on media type and source.

fix(ui-widgets): Implement Widget State Persistence

- Added serialization for widget visibility state in GeminiUtilMediaDescribe node.
- Ensured UI state is preserved across workflow saves and reloads.
2025-10-02 18:34:39 -05:00
..

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)

Verify Cache

# Run cache verification tests
python test_cache_verification.py

Category: Infrastructure Status: Stable