You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
Gradio has recently added support for deploying manifests for Progressive Web Applications (PWAs). However, it currently lacks support for leveraging client-side storage mechanisms such as Web Storage (session and local), IndexedDB, and the Cache API.
These features are essential for building stateful, interactive AI-powered mobile apps with improved performance, offline capabilities, and better user experiences. Without these options, developers must rely on external storage solutions, which increase latency, cost, and dependency on external services.
Describe the solution you'd like
Support for the following progressive web client-side features:
Web Storage (Session and Local)
Use key-value pairs to store small amounts of data on the client.
Session Storage: Automatically clears when the session ends (e.g., app closure).
Local Storage: Persists until explicitly removed.
Example use: Save user preferences, session-specific inputs, or configurations.
IndexedDB
Asynchronous API for storing significant amounts of structured or binary data.
Example use: Save AI-generated content, user-uploaded data, or debug logs.
Cache API
Store and manage web resources like HTML, CSS, JavaScript, or model files for offline use.
Example use: Cache machine learning models for offline inference or frequently used assets to reduce latency.
Additional context
These features align with Gradio's mission to democratize AI application development, enabling developers to create mobile-friendly, offline-capable apps served directly through Gradio.
Providing documentation and examples for integrating Web Storage, IndexedDB, and Cache APIs would make implementation straightforward for developers.
Is your feature request related to a problem? Please describe.
Gradio has recently added support for deploying manifests for Progressive Web Applications (PWAs). However, it currently lacks support for leveraging client-side storage mechanisms such as Web Storage (session and local), IndexedDB, and the Cache API.
These features are essential for building stateful, interactive AI-powered mobile apps with improved performance, offline capabilities, and better user experiences. Without these options, developers must rely on external storage solutions, which increase latency, cost, and dependency on external services.
Describe the solution you'd like
Support for the following progressive web client-side features:
Web Storage (Session and Local)
IndexedDB
Cache API
Additional context
References
The text was updated successfully, but these errors were encountered: