Giter Site home page Giter Site logo

Comments (5)

chandrapatel avatar chandrapatel commented on September 26, 2024

@pradeep910 Can we close this issue?

from pwa-extension.

pradeep910 avatar pradeep910 commented on September 26, 2024

@chandrapatel I see external links getting added in precache. Please exclude external links from this.

See screenshot below -
Screenshot 2019-12-26 at 2 02 48 PM

from pwa-extension.

chandrapatel avatar chandrapatel commented on September 26, 2024

@chandrapatel I see external links getting added in precache. Please exclude external links from this.

See screenshot below -
Screenshot 2019-12-26 at 2 02 48 PM

@pradeep910 I have fixed the issue. Please review PR #12

from pwa-extension.

chandrapatel avatar chandrapatel commented on September 26, 2024

@pradeep910 Precache uses CacheFirst strategy so any page which updates time to time like a blog page. It won't be updated if its precaches. Because it always serves from the cache.

So we need to cache the pages which won't be updated from time to time like recent posts and menu links like about us and etc.

The response strategy used in this route is cache-first: the precached response will be used, unless that cached response is not present (due to some unexpected error), in which case a network response will be used instead.

https://developers.google.com/web/tools/workbox/modules/workbox-precaching#serving_precached_responses

from pwa-extension.

pradeep910 avatar pradeep910 commented on September 26, 2024

We have merged #12 so closing this.

from pwa-extension.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.