Smart Shared Cache System

Shared cache with TTL, background refresh and tab sync

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
STELLAR STELS
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
2.0
Created
2026-02-23
Updated
2026-02-23
Size
3.26 KB
License
MIT
Applies to
All sites

🚀 Smart Shared Cache System (Background + Sync)
---------------------------------------------------------------------------------
⚡ Что это умеет
🔄 Background Refresh

Если кеш пустой — данные подгружаются автоматически.

🌍 Общий кеш для нескольких userscript

Если у разных скриптов одинаковый @namespace и PREFIX — они используют одну базу.

🔔 Синхронизация вкладок

Через BroadcastChannel все вкладки мгновенно получают обновление.

🧠 Автоочистка TTL

Просроченные значения удаляются автоматически.

💡 Где можно использовать легально

кеш API-запросов

хранение настроек

временные токены авторизации (если разрешено сервисом)

данные профиля

экономия запросов к серверу