Coder Social home page Coder Social logo

Comments (3)

nicklela avatar nicklela commented on August 12, 2024

This is the design to make sure that BIOS always use latest context
image

from edk2-redfish-client-deprecated.

nicklela avatar nicklela commented on August 12, 2024

Enhancement:

  • use if-non-match to check resource modification instead of comparing ETag.

Note: OpenBMC has no ETag implementation: https://lore.kernel.org/all/[email protected]/T/

We previously supported etag for static resources, hence the

references to them. They were removed when I moved phosphor-webui to
webpack builds, and it was always on my list to add them back, using
webpacks hashing mechanisms, but I never got a chance.

In practice, they didn't provide that much utility because most browsers:

  1. only cache if you have a valid SSL certificate.
  2. Have a very limited cache size.
  3. Don't support cross site etag caches.

So in practice, the cache didn't provide any benefit in a majority of cases.

In terms of supporting etags on non-static resources, that's quite
complex, given that cache invalidation is difficult, and likely
deserves its own design document.

from edk2-redfish-client-deprecated.

nicklela avatar nicklela commented on August 12, 2024

Another solution is on BMC side:

  • If there is last minute change from end user, BMC won't just clear all context at /Bios/Settings.
  • BMC will check and only remove attribute that is consumed by BIOS. Last minute user change will sty in /Bios/Settings and user will know this change is not consumed yet.

from edk2-redfish-client-deprecated.

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.