[NEW PLUGIN] OptiCache PRO ⚡ - Stop Wasting WUs! Zero-Latency Caching with TTL & SessionStorage

Hey Bubblers! :waving_hand:

If you are fighting to reduce your Workload Unit (WU) consumption and want your app to feel instantly fast, you need to stop querying the database for data that hasn’t changed.

I just released OptiCache, a frontend caching engine that turns the user’s browser into a lightning-fast database with 0ms latency and 0 WUs cost.

The Problem: Fetching a list of countries, product categories, or a user’s dashboard stats on every page load burns your WU budget and makes the user wait for the loading bar.

The Solution: Fetch it once, save it in OptiCache, and load it instantly from the user’s browser on any other page.

I’ve released two versions:

:green_circle: OptiCache FREE: Perfect for basic caching. Save texts or JSON payloads to localStorage. Pass large amounts of data between pages instantly without using messy URL parameters.

:gem_stone: OptiCache PRO: This is for serious/enterprise apps. We introduced Smart Memory Management:

  • :stopwatch: Auto-Expiring TTL: Set your cache to expire in 30 minutes, 2 hours, etc. The plugin tracks the clock. When time is up, the cache self-destructs so the user never sees outdated “zombie” data!

  • :card_index_dividers: Session Storage: Choose to save data in sessionStorage (which automatically wipes itself the second the user closes the browser tab).

  • :locked: User ID Isolation: Add a User ID to your cache saves. This sandboxes the data, ensuring that if two people share the same computer, they never see each other’s cached preferences.

:link: Check out OptiCache Free: HERE

:link: Check out OptiCache PRO: HERE

Let me know what you think! I’m planning to add server-side Redis integrations in the future for global caching, but for now, enjoy the blazing-fast frontend speeds! :high_voltage: Happy building!

What is it using for cache? Is it just session storage?

Hi Matthew!

The cache is saved on the browser device local storage up until 5mbs.

For the free version it is only saved as local so you can restart your pc and the data is still there.

For the Pro version you can chose local or session.

Cheers!

Hey Bubble community! :waving_hand:

Until today, OptiCache has been helping you save Workload Units (WUs) by storing data locally in the user’s browser. But what happens when you have a public dashboard, a product list, or global settings that thousands of users need to access at the same time?

If you query the Bubble database for every single user, your WU costs will skyrocket! :chart_decreasing:

Today, I am thrilled to announce OptiCache (Pro) V2: The Backend Revolution. :globe_showing_europe_africa::high_voltage:

We have fully integrated native Server-Side Actions powered by Upstash (Redis)—the fastest serverless database on the planet!

:fire: What this means for your app: Instead of a user calculating heavy data and keeping it to themselves, your app can now run a calculation once, save it to the Upstash Redis Server using the new Set Server Cache action, and serve it instantly to every other user using the Get Server Cache action!

  • Zero database reads.

  • Zero complex API Connector setups.

  • Millisecond response times.

  • Massive WU savings.

You can also use the Invalidate Server Cache action to clear the memory globally whenever you actually update the real data in your database.

Upstash offers an incredibly generous free tier, making Enterprise-level caching accessible to every Bubble developer. Setting this up takes less than 2 minutes.

Let me know what you guys think about bringing Redis natively to Bubble! Happy scaling! :rocket::hammer_and_wrench: