Git Product home page Git Product logo

Comments (5)

holta avatar holta commented on May 29, 2024

A Big Thank You to @tim-moody and @kelson42 and @shanti-bhardwa and @ericnitschke and everyone working on this!

Related: openzim/zim-requests#225

from zimit.

tim-moody avatar tim-moody commented on May 29, 2024

To quote from https://developers.google.com/web/fundamentals/primers/service-workers:

You need HTTPS
During development you'll be able to use service worker through localhost, but to deploy it on a site you'll need to have HTTPS setup on your server.

Using service worker you can hijack connections, fabricate, and filter responses. Powerful stuff. While you would use these powers for good, a man-in-the-middle might not. To avoid this, you can only register service workers on pages served over HTTPS, so we know the service worker the browser receives hasn't been tampered with during its journey through the network.

from zimit.

kelson42 avatar kelson42 commented on May 29, 2024

@tim-moody This has to run in HTTPS. This kind of ZIM file uses service workers. Browser implementation of service workers requires HTTPS on remote hosts. There is nothing we can do about that. Works as designed.

from zimit.

tim-moody avatar tim-moody commented on May 29, 2024

@kelson42 can we assume then that it was not designed for offline use?

from zimit.

kelson42 avatar kelson42 commented on May 29, 2024

@tim-moody You can assume it, we don't.

from zimit.

Related Issues (20)

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.