---
title: "Discussion on \"Building Offline-Ready Webpage with Service Worker and Cache Storage\" | Hashnode"
description: "Discussion on \"Building Offline-Ready Webpage with Service Worker and Cache Storage\". Sometimes, our internet connection isn't reliable or completely absent. In those moments, we still want to use websites and apps. This is where offline web"
url: "https://hashnode.com/posts/building-offline-ready-webpage-with-service-worker-and-cache-storage/64f6ff2bbf111cbdf56d40ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building Offline-Ready Webpage with Service Worker and Cache Storage](https://naimur.dev/building-offline-ready-webpage-with-service-worker-and-cache-storage?utm_source=hashnode&utm_medium=feed)

Sometimes, our internet connection isn't reliable or completely absent. In those moments, we still want to use websites and apps. This is where offline web

Sep 5, 2023 · 4 min read · naimur.dev  
Updated Sep 6, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#service-workers](https://hashnode.com/tag/service-workers)

## Written by

[Naimur Rahman](https://hashnode.com/@naimurdev)

@naimurdev · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@naimurdev)

Senior Software Engineer @cheq

Senior full-stack software engineer with 9 years of experience turning complex requirements into scalable, reliable software. He works across web, mobile, and back-end development using TypeScript, JavaScript, Go, Node.js, React, and React Native. Naimur combines strong engineering fundamentals with experience building APIs, distributed systems, data pipelines, and intuitive user experiences for diverse industries.

## Responses 2

Markdown supported · ⌘↵ to post

[Gaurav Yadav](https://hashnode.com/@techispapa)

[Sep 7, 2023](https://hashnode.com/posts/building-offline-ready-webpage-with-service-worker-and-cache-storage/64f6ff2bbf111cbdf56d40ab/comment/64f9bfffc035cd988c324e66)

What happens if a user tries to make a put request on the same form again and again.

Does it create a new put request in indexDB ?

[Gaurav Yadav](https://hashnode.com/@techispapa)

[Sep 7, 2023](https://hashnode.com/posts/building-offline-ready-webpage-with-service-worker-and-cache-storage/64f6ff2bbf111cbdf56d40ab/comment/64f9bfffc035cd988c324e66#reply-64f9def4139d4c9cb61181f6)

[Naimur Rahman](https://hashnode.com/@naimurdev) Making api calls automatically, BackgroundSync Plugin does that for you.

[Gaurav Yadav](https://hashnode.com/@techispapa)

[Sep 7, 2023](https://hashnode.com/posts/building-offline-ready-webpage-with-service-worker-and-cache-storage/64f6ff2bbf111cbdf56d40ab/comment/64f9bfffc035cd988c324e66#reply-64f9dfb3c035cd988c325114)

[Naimur Rahman](https://hashnode.com/@naimurdev) Let me ask a question in different way.

if a user tries to make a put request on the same form again and again.

Should we store multiple put request for same form, or should we store a single put request.

[Naimur Rahman](https://hashnode.com/@naimurdev)

[Sep 7, 2023](https://hashnode.com/posts/building-offline-ready-webpage-with-service-worker-and-cache-storage/64f6ff2bbf111cbdf56d40ab/comment/64f9bfffc035cd988c324e66#reply-64f9dfe4139d4c9cb611821c)

Wow! Seems interesting. I will definitely check this plugin. Thanks for mentioning this [Gaurav Yadav](https://hashnode.com/@techispapa)

[BIPUL MANDOL](https://hashnode.com/@bbbipul)

[Sep 5, 2023](https://hashnode.com/posts/building-offline-ready-webpage-with-service-worker-and-cache-storage/64f6ff2bbf111cbdf56d40ab/comment/64f73d8dc035cd988c320abb)

nice reading.
