- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Check the description for more👇🏻 #knowledge #softwaredevelopment #javascript
🚀THE BONUS
.
.
.
The Cache API
Some sites also work OFFLINE? That's the Cache API paired with a Service Worker.
Unlike LocalStorage, this is designed specifically to store Network Request/Response pairs. It allows you to intercept a fetch request and serve a cached version of an image, script, or API response instantly even without an internet connection. This is the backbone of Progressive Web Apps (PWAs).📱
If you want your app to feel instant, you need to master Frontend Caching. Here's the breakdown of where data actually goes..
1️⃣Browser Memory (In-Memory)
The fastest option! This is where your state (Redux, Zustand, or simple variables) lives. It's perfect for data you need right now, but remember: if the user hits refresh, it's gone.💨
2️⃣Web Storage (Local/Session/Cookies)
The "Old Reliable."
• LocalStorage: Stays forever (until deleted).
• SessionStorage: Dies when the tab closes.
• Cookies: Small (4KB) but can be sent to the server with every request. Great for auth tokens and user preferences!⚙️
3️⃣IndexedDB
The powerhouse. It's a full-blown NoSQL database inside your browser. If you're building an "Offline-First" app or need to store large amounts of structured data (like whole product catalogs), this is your best friend.
Which one is your go-to? Let's debate in the comments!👇🏻
#software #frontend #javascript #js
Видео Check the description for more👇🏻 #knowledge #softwaredevelopment #javascript канала Sonali & Vishal
.
.
.
The Cache API
Some sites also work OFFLINE? That's the Cache API paired with a Service Worker.
Unlike LocalStorage, this is designed specifically to store Network Request/Response pairs. It allows you to intercept a fetch request and serve a cached version of an image, script, or API response instantly even without an internet connection. This is the backbone of Progressive Web Apps (PWAs).📱
If you want your app to feel instant, you need to master Frontend Caching. Here's the breakdown of where data actually goes..
1️⃣Browser Memory (In-Memory)
The fastest option! This is where your state (Redux, Zustand, or simple variables) lives. It's perfect for data you need right now, but remember: if the user hits refresh, it's gone.💨
2️⃣Web Storage (Local/Session/Cookies)
The "Old Reliable."
• LocalStorage: Stays forever (until deleted).
• SessionStorage: Dies when the tab closes.
• Cookies: Small (4KB) but can be sent to the server with every request. Great for auth tokens and user preferences!⚙️
3️⃣IndexedDB
The powerhouse. It's a full-blown NoSQL database inside your browser. If you're building an "Offline-First" app or need to store large amounts of structured data (like whole product catalogs), this is your best friend.
Which one is your go-to? Let's debate in the comments!👇🏻
#software #frontend #javascript #js
Видео Check the description for more👇🏻 #knowledge #softwaredevelopment #javascript канала Sonali & Vishal
Комментарии отсутствуют
Информация о видео
Вчера, 17:30:10
00:00:07
Другие видео канала





















