# \#cache

**URL:** https://discuss.streamlit.io/tag/cache/7.md

[Latest](https://discuss.streamlit.io/latest.md) · [Categories](https://discuss.streamlit.io/categories.md) · [Tags](https://discuss.streamlit.io/tags.md)

---

## [How should a multi-user Streamlit app securely manage per-user LLM API quotas?](https://discuss.streamlit.io/t/how-should-a-multi-user-streamlit-app-securely-manage-per-user-llm-api-quotas/122995)

<div class="topic-metadata">

**Author:** [@jiux6019](https://discuss.streamlit.io/u/jiux6019)\
**Replies:** 2\
**Last updated:** [November 5, 2026, 3:17am UTC](https://discuss.streamlit.io/t/how-should-a-multi-user-streamlit-app-securely-manage-per-user-llm-api-quotas/122995 "2026-11-05T03:17:17Z")

</div>

I’m building a Streamlit-based AI application and experimenting with a separate API gateway for multi-user usage control. The gateway handles authentication, customer-level quotas, daily limits, usage reporting, and pro…

---

## [How to get download text file text in variable before download or get selected hyperlink text in any vay by using st.write href](https://discuss.streamlit.io/t/how-to-get-download-text-file-text-in-variable-before-download-or-get-selected-hyperlink-text-in-any-vay-by-using-st-write-href/122781)

<div class="topic-metadata">

**Author:** [@muhammadfahimaamir](https://discuss.streamlit.io/u/muhammadfahimaamir)\
**Replies:** 1\
**Last updated:** [October 11, 2026, 8:10am UTC](https://discuss.streamlit.io/t/how-to-get-download-text-file-text-in-variable-before-download-or-get-selected-hyperlink-text-in-any-vay-by-using-st-write-href/122781 "2026-10-11T08:10:00Z")

</div>

Dear Sir, I am seeking assistance with retrieving the text content of a selected hyperlink prior to file download and storing it within a variable. My current implementation contains multiple hyperlinks, and while the c…

---

## [How to get selected hyperlink text and save in variable use only st.write href](https://discuss.streamlit.io/t/how-to-get-selected-hyperlink-text-and-save-in-variable-use-only-st-write-href/122779)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 0\
**Last updated:** [October 10, 2026, 7:25pm UTC](https://discuss.streamlit.io/t/how-to-get-selected-hyperlink-text-and-save-in-variable-use-only-st-write-href/122779 "2026-10-10T19:25:36Z")

</div>

Dear Sir, I am writing to request your assistance with a technical matter. My code executes successfully, and when I click any hyperlink, it downloads a text file containing the text of the selected hyperlink without re…

---

## [How to get selected hyperlink text and save in variable](https://discuss.streamlit.io/t/how-to-get-selected-hyperlink-text-and-save-in-variable/122778)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 1\
**Last updated:** [October 10, 2026, 7:23pm UTC](https://discuss.streamlit.io/t/how-to-get-selected-hyperlink-text-and-save-in-variable/122778 "2026-10-10T19:23:05Z")

</div>

Dear Sir, I am writing to request your assistance with a technical matter. My code executes successfully, and when I click any hyperlink, it downloads a text file containing the text of the selected hyperlink without re…

---

## [How to get selected or clicked hyperlink text / need current clicked hyperlink text for next working](https://discuss.streamlit.io/t/how-to-get-selected-or-clicked-hyperlink-text-need-current-clicked-hyperlink-text-for-next-working/122772)

<div class="topic-metadata">

**Author:** [@muhammadfahimaamir](https://discuss.streamlit.io/u/muhammadfahimaamir)\
**Replies:** 3\
**Last updated:** [October 10, 2026, 11:39am UTC](https://discuss.streamlit.io/t/how-to-get-selected-or-clicked-hyperlink-text-need-current-clicked-hyperlink-text-for-next-working/122772 "2026-10-10T11:39:08Z")

</div>

Dear Manager, I have successfully implemented code to retrieve hyperlink data from Google. However, I am encountering a persistent issue: when I attempt to capture the text of a clicked hyperlink into a variable for sub…

---

## [How to get selected current hyperlink text in variable for next working](https://discuss.streamlit.io/t/how-to-get-selected-current-hyperlink-text-in-variable-for-next-working/122773)

<div class="topic-metadata">

**Author:** [@muhammadfahimaamir](https://discuss.streamlit.io/u/muhammadfahimaamir)\
**Replies:** 1\
**Last updated:** [October 10, 2026, 11:37am UTC](https://discuss.streamlit.io/t/how-to-get-selected-current-hyperlink-text-in-variable-for-next-working/122773 "2026-10-10T11:37:36Z")

</div>

Dear Manager, I have successfully implemented code to retrieve hyperlink data from Google. However, I am encountering a persistent issue: when I attempt to capture the text of a clicked hyperlink into a variable for sub…

---

## [Need two page navigaitn and data tranfer code](https://discuss.streamlit.io/t/need-two-page-navigaitn-and-data-tranfer-code/122762)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 10:59am UTC](https://discuss.streamlit.io/t/need-two-page-navigaitn-and-data-tranfer-code/122762 "2026-10-09T10:59:53Z")

</div>

I kindly request that you provide me with straightforward code that accomplishes the following objectives: the main page should not refresh when navigating, and a new page should open upon clicking. The data should be tr…

---

## [Stop file downloading](https://discuss.streamlit.io/t/stop-file-downloading/122760)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 10:57am UTC](https://discuss.streamlit.io/t/stop-file-downloading/122760 "2026-10-09T10:57:14Z")

</div>

I am writing to inform you that my code executes successfully and transfers the data into the designated variable. However, the file download functionality is being triggered, which is not required for my purposes. I wou…

---

## [O need main page refresh use only sr.write with href no. Use st.buutton](https://discuss.streamlit.io/t/o-need-main-page-refresh-use-only-sr-write-with-href-no-use-st-buutton/122753)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 7:14am UTC](https://discuss.streamlit.io/t/o-need-main-page-refresh-use-only-sr-write-with-href-no-use-st-buutton/122753 "2026-10-09T07:14:20Z")

</div>

dear sir my code executes successfully without errors; however, a problem has emerged where clicking on text transfers it to a function and renders it within an expander, yet this operation causes the page to refresh. i …

---

## [No need main page refresh](https://discuss.streamlit.io/t/no-need-main-page-refresh/122752)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 4:45am UTC](https://discuss.streamlit.io/t/no-need-main-page-refresh/122752 "2026-10-09T04:45:39Z")

</div>

dear sir my code executes successfully without errors; however, a problem has emerged where clicking on text transfers it to a function and renders it within an expander, yet this operation causes the page to refresh. i …

---

## [MarketSutra - A free (open source) NSE + Bitcoin + Crude terminal on streamlit](https://discuss.streamlit.io/t/marketsutra-a-free-open-source-nse-bitcoin-crude-terminal-on-streamlit/122515)

<div class="topic-metadata">

**Author:** [@khushal2](https://discuss.streamlit.io/u/khushal2)\
**Replies:** 0\
**Last updated:** [September 19, 2026, 8:36pm UTC](https://discuss.streamlit.io/t/marketsutra-a-free-open-source-nse-bitcoin-crude-terminal-on-streamlit/122515 "2026-09-19T20:36:16Z")

</div>

Hey everyone :waving\_hand: I’ve been trading and creating educational content around Indian markets for a while, and I always wanted a single dashboard that combines screening, technicals, fundamentals, news, and crypto…

---

## [App deployment failing - "Release file for bullseye-security is expired"](https://discuss.streamlit.io/t/app-deployment-failing-release-file-for-bullseye-security-is-expired/122433)

<div class="topic-metadata">

**Author:** [@lucianopasini15](https://discuss.streamlit.io/u/lucianopasini15)\
**Replies:** 1\
**Last updated:** [September 9, 2026, 3:31pm UTC](https://discuss.streamlit.io/t/app-deployment-failing-release-file-for-bullseye-security-is-expired/122433 "2026-09-09T15:31:27Z")

</div>

Título: App deployment failing - “Release file for bullseye-security is expired” Corpo: My app has been failing to deploy for over 24 hours with the following error during the apt dependencies installation step: E: Re…

---

## [🌱 PineSprout — Production-Grade Pine Script CLI & Streamlit Studio for TradingView Devs](https://discuss.streamlit.io/t/pinesprout-production-grade-pine-script-cli-streamlit-studio-for-tradingview-devs/122203)

<div class="topic-metadata">

**Author:** [@khushal2](https://discuss.streamlit.io/u/khushal2)\
**Replies:** 0\
**Last updated:** [August 13, 2026, 4:31pm UTC](https://discuss.streamlit.io/t/pinesprout-production-grade-pine-script-cli-streamlit-studio-for-tradingview-devs/122203 "2026-08-13T16:31:58Z")

</div>

Hey Streamlit Community! :waving\_hand: I’m excited to share PineSprout Studio — an open-source toolkit for TradingView Pine Script developers, built with Python + Streamlit. :link: Live App: https://pinesprout-khushalj…

---

## [Question about st.cache\_data TTL and Memory Cleanup](https://discuss.streamlit.io/t/question-about-st-cache-data-ttl-and-memory-cleanup/122070)

<div class="topic-metadata">

**Author:** [@Suraj30](https://discuss.streamlit.io/u/Suraj30)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 5:21pm UTC](https://discuss.streamlit.io/t/question-about-st-cache-data-ttl-and-memory-cleanup/122070 "2026-08-12T17:21:24Z")

</div>

Hi Streamlit Team, I have a question about how st.cache\_data works with ttl, specifically around memory cleanup. For example: @st.cache\_data(ttl=3600) def load\_data(): ... Scenario At 10:00 AM, User 1 calls th…

---

## [After Upload file stays in RAM](https://discuss.streamlit.io/t/after-upload-file-stays-in-ram/119453)

<div class="topic-metadata">

**Author:** [@SteDe](https://discuss.streamlit.io/u/SteDe)\
**Replies:** 6\
**Last updated:** [July 24, 2026, 6:30pm UTC](https://discuss.streamlit.io/t/after-upload-file-stays-in-ram/119453 "2026-07-24T18:30:14Z")

</div>

Please take a moment to search the forum and documentation before posting a new topic. If you’re creating a debugging post, please include the following info: Are you running your app locally or is it deployed? local …

---

## [How to sync Streamlit with background tasks: Outer/Inner caching ](https://discuss.streamlit.io/t/how-to-sync-streamlit-with-background-tasks-outer-inner-caching/122025)

<div class="topic-metadata">

**Author:** [@Angela1](https://discuss.streamlit.io/u/Angela1)\
**Replies:** 2\
**Last updated:** [July 22, 2026, 6:03am UTC](https://discuss.streamlit.io/t/how-to-sync-streamlit-with-background-tasks-outer-inner-caching/122025 "2026-07-22T06:03:55Z")

</div>

Hi everyone, I am building an app on a virtual machine I have structured my architecture to run as two completely separated processes in two different terminals: Terminal 1 (Background Runner): Periodically processes…

---

## [excluido aplicativo](https://discuss.streamlit.io/t/excluido-aplicativo/122023)

<div class="topic-metadata">

**Author:** [@dionathan.cordeiro](https://discuss.streamlit.io/u/dionathan.cordeiro)\
**Replies:** 0\
**Last updated:** [July 21, 2026, 7:25pm UTC](https://discuss.streamlit.io/t/excluido-aplicativo/122023 "2026-07-21T19:25:40Z")

</div>

Suporte consegue ver e me dizer se algum aplicativo aqui foi excluido ?

---

## [\_clear() on st.cache\_data decorated functions and st.connection instances](https://discuss.streamlit.io/t/clear-on-st-cache-data-decorated-functions-and-st-connection-instances/121939)

<div class="topic-metadata">

**Author:** [@mikstravaganza](https://discuss.streamlit.io/u/mikstravaganza)\
**Replies:** 2\
**Last updated:** [July 13, 2026, 4:10pm UTC](https://discuss.streamlit.io/t/clear-on-st-cache-data-decorated-functions-and-st-connection-instances/121939 "2026-07-13T16:10:30Z")

</div>

I am converting a very basic Tkinter app to use Streamlit instead. I use a local SQLite database for the data storage. I connect using an st.connection object. I use @st.cache\_datadecorated functions to retrieve data fr…

---

## [Cookies support in Streamlit!](https://discuss.streamlit.io/t/cookies-support-in-streamlit/16144)

<div class="topic-metadata">

**Author:** [@Mohamed](https://discuss.streamlit.io/u/Mohamed)\
**Replies:** 70\
**Last updated:** [July 11, 2026, 4:52pm UTC](https://discuss.streamlit.io/t/cookies-support-in-streamlit/16144 "2026-07-11T16:52:42Z")

</div>

An extension to extra-streamlit-components · PyPI | (Github) , I added browser cookie support. You can preserve data between sessions, update, get, and delete browser cookies. Newly added cookies with this module is stri…

---

## [How to create two columns drag and drop app by using streamlit\_dnd](https://discuss.streamlit.io/t/how-to-create-two-columns-drag-and-drop-app-by-using-streamlit-dnd/121891)

<div class="topic-metadata">

**Author:** [@badar](https://discuss.streamlit.io/u/badar)\
**Replies:** 1\
**Last updated:** [July 8, 2026, 8:53am UTC](https://discuss.streamlit.io/t/how-to-create-two-columns-drag-and-drop-app-by-using-streamlit-dnd/121891 "2026-07-08T08:53:10Z")

</div>

dear sir I require further help; I need to implement a two-column layout on the pages for a drag-and-drop functionality that allows items to be moved from one container to another. I have some code I found on Google, bu…

---

## [Reversal Lab Stock Research](https://discuss.streamlit.io/t/reversal-lab-stock-research/121675)

<div class="topic-metadata">

**Author:** [@George20](https://discuss.streamlit.io/u/George20)\
**Replies:** 1\
**Last updated:** [July 4, 2026, 2:28pm UTC](https://discuss.streamlit.io/t/reversal-lab-stock-research/121675 "2026-07-04T14:28:06Z")

</div>

I created a reversal stock research system that I personally used for awhile now with promising results. Sharing if others want to try it out and give feedback. I’ll be adding AI and agentic features to it shortly if the…

---

## [How I’m building a full Cognitive AutoML/MLOps platform in Streamlit — 305 files, 150k+ lines, audit contracts, scientific integrity and an AI assistant](https://discuss.streamlit.io/t/how-i-m-building-a-full-cognitive-automl-mlops-platform-in-streamlit-305-files-150k-lines-audit-contracts-scientific-integrity-and-an-ai-assistant/121685)

<div class="topic-metadata">

**Author:** [@Lucindo](https://discuss.streamlit.io/u/Lucindo)\
**Replies:** 4\
**Last updated:** [June 9, 2026, 9:08pm UTC](https://discuss.streamlit.io/t/how-i-m-building-a-full-cognitive-automl-mlops-platform-in-streamlit-305-files-150k-lines-audit-contracts-scientific-integrity-and-an-ai-assistant/121685 "2026-06-09T21:08:43Z")

</div>

Hey Streamlit community! :waving\_hand: I want to share something I’ve been building since January 13, 2026: a full AutoML/MLOps platform built with Streamlit as the main application layer. After 141 days of development,…

---

## [Show Streamlit: LY-Scope Ver.1 – A visual decision diary for personal asset planning](https://discuss.streamlit.io/t/show-streamlit-ly-scope-ver-1-a-visual-decision-diary-for-personal-asset-planning/121676)

<div class="topic-metadata">

**Author:** [@lyn0109](https://discuss.streamlit.io/u/lyn0109)\
**Replies:** 0\
**Last updated:** [June 8, 2026, 4:11pm UTC](https://discuss.streamlit.io/t/show-streamlit-ly-scope-ver-1-a-visual-decision-diary-for-personal-asset-planning/121676 "2026-06-08T16:11:16Z")

</div>

Hi Streamlit community, I built an early Streamlit prototype called LY-Scope Ver.1. It is a personal asset decision app that connects several financial decision inputs into one visual report: Market assets and stock …

---

## [GitHub Username Changed but Streamlit Profile Still Shows Old Username](https://discuss.streamlit.io/t/github-username-changed-but-streamlit-profile-still-shows-old-username/121636)

<div class="topic-metadata">

**Author:** [@mpintoo](https://discuss.streamlit.io/u/mpintoo)\
**Replies:** 1\
**Last updated:** [June 1, 2026, 5:28pm UTC](https://discuss.streamlit.io/t/github-username-changed-but-streamlit-profile-still-shows-old-username/121636 "2026-06-01T17:28:15Z")

</div>

Hi Team, I recently changed my GitHub username from: Old username: manoj213333 New username: ManojPinto The GitHub username change was completed successfully, and I can log in using the new account. However, on Strea…

---

## [How to remove flicker/grey frame on looping videos in Streamlit?](https://discuss.streamlit.io/t/how-to-remove-flicker-grey-frame-on-looping-videos-in-streamlit/121599)

<div class="topic-metadata">

**Author:** [@manzone](https://discuss.streamlit.io/u/manzone)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 6:07pm UTC](https://discuss.streamlit.io/t/how-to-remove-flicker-grey-frame-on-looping-videos-in-streamlit/121599 "2026-05-29T18:07:27Z")

</div>

Hi everyone, I’m running a Streamlit app on Hugging Face Spaces and I’m displaying short looping videos. The issue is that on every loop reset, there’s a brief visible grey/shadow frame around the video before playback…

---

## [Streamlit Cloud forcing Python 3.14 before TensorFlow supports it](https://discuss.streamlit.io/t/streamlit-cloud-forcing-python-3-14-before-tensorflow-supports-it/121567)

<div class="topic-metadata">

**Author:** [@Subhadip1](https://discuss.streamlit.io/u/Subhadip1)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 4:29pm UTC](https://discuss.streamlit.io/t/streamlit-cloud-forcing-python-3-14-before-tensorflow-supports-it/121567 "2026-05-26T16:29:51Z")

</div>

My app fails to install TensorFlow on Streamlit Cloud because the build environment is using Python 3.14.5. TensorFlow wheels are only available for Python 3.9–3.12, so pip reports “No matching distribution found.” I’v…

---

## [Auth cookie persistence broken in 1.57.0 (Starlette migration)](https://discuss.streamlit.io/t/auth-cookie-persistence-broken-in-1-57-0-starlette-migration/121410)

<div class="topic-metadata">

**Author:** [@Andreas6](https://discuss.streamlit.io/u/Andreas6)\
**Replies:** 2\
**Last updated:** [May 14, 2026, 10:42pm UTC](https://discuss.streamlit.io/t/auth-cookie-persistence-broken-in-1-57-0-starlette-migration/121410 "2026-05-14T22:42:42Z")

</div>

Hi team, I noticed that after upgrading from Streamlit 1.56.0 to 1.57.0, the authentication cookie set by st.login() is no longer persistent. It behaves as a session cookie (deleted when the browser is closed) instead o…

---

## [Showing a “session timed out” message after Streamlit WebSocket disconnect](https://discuss.streamlit.io/t/showing-a-session-timed-out-message-after-streamlit-websocket-disconnect/121377)

<div class="topic-metadata">

**Author:** [@Brandon7](https://discuss.streamlit.io/u/Brandon7)\
**Replies:** 1\
**Last updated:** [April 28, 2026, 7:57pm UTC](https://discuss.streamlit.io/t/showing-a-session-timed-out-message-after-streamlit-websocket-disconnect/121377 "2026-04-28T19:57:34Z")

</div>

Hi Streamlit community, I’m trying to determine whether it’s possible to show a custom message (e.g., “This page has timed out. Please refresh to continue.”) after a Streamlit session expires and the WebSocket connectio…

---

## [Since there no code and requirements error shown in logs in manage app section. But my app crashed and stops itself. I need Immediate solution to resolve this issue](https://discuss.streamlit.io/t/since-there-no-code-and-requirements-error-shown-in-logs-in-manage-app-section-but-my-app-crashed-and-stops-itself-i-need-immediate-solution-to-resolve-this-issue/121004)

<div class="topic-metadata">

**Author:** [@rishikesh1815](https://discuss.streamlit.io/u/rishikesh1815)\
**Replies:** 2\
**Last updated:** [March 11, 2026, 4:41pm UTC](https://discuss.streamlit.io/t/since-there-no-code-and-requirements-error-shown-in-logs-in-manage-app-section-but-my-app-crashed-and-stops-itself-i-need-immediate-solution-to-resolve-this-issue/121004 "2026-03-11T16:41:50Z")

</div>

If you’re creating a debugging post, please include the following info: S hare the link to the public app (deployed on Community Cloud). Share the link to your app’s public GitHub repository (including a requir…

---

## [Showcase: How I used st.session\_state, Groq, and Pydantic to scale an AI app during a viral 450+ user surge](https://discuss.streamlit.io/t/showcase-how-i-used-st-session-state-groq-and-pydantic-to-scale-an-ai-app-during-a-viral-450-user-surge/121000)

<div class="topic-metadata">

**Author:** [@Caleb2](https://discuss.streamlit.io/u/Caleb2)\
**Replies:** 0\
**Last updated:** [March 10, 2026, 6:18am UTC](https://discuss.streamlit.io/t/showcase-how-i-used-st-session-state-groq-and-pydantic-to-scale-an-ai-app-during-a-viral-450-user-surge/121000 "2026-03-10T06:18:05Z")

</div>

Hey Streamlit Community! :waving\_hand: I wanted to share a project I built called DM Co-Pilot, an open-source AI assistant for Dungeons & Dragons. It generates VTT-ready JSON data (monsters, items, etc.) for Game Master…

[Next page](https://discuss.streamlit.io/tag/cache/7.md?match_all_tags=true&page=1&tags%5B%5D=cache)
