Giter Club home page Giter Club logo

Comments (4)

jsakamoto avatar jsakamoto commented on May 18, 2024 1

@thepra Thank you for waiting.

Today, I published the new version of "Toolbelt.Blazor.HeadElement" NuGet package.

I improved offline support at this version, so this package version should fix your issue.
Could you try it out?

from toolbelt.blazor.headelement.

thepra avatar thepra commented on May 18, 2024 1

yep, with that option disabling client injection and putting the explicit link to the script in the index.html everything seems to work fine now :)

Last piece could be to add such documentation of this feature so people can understand what to do to accomplish offline caching from the beginning

from toolbelt.blazor.headelement.

jsakamoto avatar jsakamoto commented on May 18, 2024

@thepra Thank you for reporting!

I'll consider the offline scenario that you said.

By the way, I can not work on this issue right now, so I would appreciate it if you waited for my work to be finished.

from toolbelt.blazor.headelement.

jsakamoto avatar jsakamoto commented on May 18, 2024

@thepra Thank you for replying.
I agree that I should improve the document.
And I'd like to do that as soon as possible.

By the way, in my test case, Blazor WebAssembly apps with PWA manifest and service worker scripts that use this library worked fine on offline mode even though the DisableClientScriptAutoInjection option is not set to true.
(I implemented some extra code explicitly to support those PWA offline scenarios.)

So in my expectation, developers who use this library on their Blazor WebAssembly apps and need PWA offline support may have to do nothing special.
I hope this information is also helpful for you.

from toolbelt.blazor.headelement.

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.