2c1777ae4e
ComfyUI-Tenaciousload speeds up ComfyUI page loads for large model/LoRA collections by caching the slow /api/object_info response in memory and on disk (survives restarts) and serving it gzipped in ~milliseconds, instead of rebuilding it (and freezing the event loop) on every load. Adds a "Refresh Models / LoRAs" menu button, a graph node, and a POST /tenaciousload/refresh endpoint to rebuild the cache after adding or removing models. No external dependencies; no nginx/docker required. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
392 B
Plaintext
10 lines
392 B
Plaintext
# ComfyUI-Tenaciousload has NO external dependencies.
|
|
# Everything it uses is either the Python standard library
|
|
# (os, gzip, json, logging, threading) or already provided by ComfyUI:
|
|
# - aiohttp (ComfyUI's web server, aiohttp>=3.11.8)
|
|
# - folder_paths, server (ComfyUI internal modules)
|
|
#
|
|
# Requirements to run:
|
|
# - ComfyUI (any recent version; tested on 0.23.0)
|
|
# - Python >= 3.8
|