Developer Tools

Gradio 6.15.0 adds caching, security fixes, and static worker offloading

New Gradio release introduces direct function caching and enhanced proxy security

Deep Dive

The Gradio team has shipped version 6.15.0, a notable update for developers building interactive machine learning demos. The headline feature is the ability to apply `gr.cache()` directly to intermediate functions, allowing efficient memoization of computation-heavy steps without modifying the main interface logic. Additionally, traffic can now be offloaded to static workers using Node as a proxy, reducing load on the primary server and improving scalability for high-traffic apps.

On the security front, Gradio 6.15.0 isolates cookie jars in `/proxy=` requests to prevent malicious upstream Spaces from leaking cookies into proxied requests to different `*.hf.space` domains (GHSA-2mr9-9r47-px2g). Other fixes include a crash fix for `@gr.render` when inner `gr.Examples` trigger fake event keys, a default tool logic fix in `gr.ImageEditor`, and a warning when `gr.Tabs()` has non-Tab direct children. The release also adds Estonian language support and updates dependencies (handlebars to 4.7.9 for CVE-2026-33937). Contributors include abidlabs, thomwolf, freddyaboulton, hannahblair, and nine others.

Key Points
  • Direct caching of intermediate functions using `gr.cache()` without wrapping in separate blocks
  • Offload traffic to static workers via Node proxy for improved performance under load
  • Critical security fix: isolated cookie jars avoid cookie leakage across proxied requests to different domains

Why It Matters

Boosts Gradio app performance and security for developers deploying interactive ML demos at scale.