Giter Site home page Giter Site logo

Comments (3)

fungairino avatar fungairino commented on August 22, 2024

An example of a place where this latency is impacting the app:

const baseUrl = await getBaseURL();

Because it takes 4.5 seconds to check for the service url, the datadog rum library isnt initialized fast enough to cover the initial API calls to the service.

from pixiebrix-extension.

fregante avatar fregante commented on August 22, 2024

What's in the managed storage? Can it always just be initialized later? i.e. just open the defaults/localStorage first and then update them once the managed storage is received, via hook if it affects a react app.

I don't know the ratio of users on/off managed storage, but this negatively affects users who are not on it (1s-4s if managed; full 4.5s if not managed)

from pixiebrix-extension.

twschiller avatar twschiller commented on August 22, 2024

What's in the managed storage? Can it always just be initialized later?

See keys here:

"managedOrganizationId": {

Unfortunately, we need managed storage because it's used to enforce branding and restrictions. I think the adjustment described in the implementation approaches will solve most of the problem. There will still be a 4.5s delay on initial startup, but that's generally not noticeable anyway because: 1) on install from CWS, it's unclear when the download finished vs. when the extension starts up, 2) on fresh browser profile startup there's generally other tabs/extensions popping up

The long-term solution will be: w3c/webextensions#547

from pixiebrix-extension.

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.