Giter Site home page Giter Site logo

microservice-websites's People

Contributors

aliameer avatar fnd avatar gustafnk avatar jyrkiput avatar parideis avatar trimble avatar youngbrioche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microservice-websites's Issues

Conflicting js dependency versions on aggregated pages

What is a good practice to ensure that SPAs from several teams do not use conflicting js library and framework versions? Which are the tradeoffs to make?

Independently developed SPAs rarely use the same version of anything. Three apps from three teams on one page will almost certainly run three different versions of e.g. bootstrap, jquery and some mvc framework, not to mention plugins etc.

Currently the section "local scripts" focuses on load optimization. Do you assume implicitly that the teams coordinate shared versions of libraries, frameworks and plugins and update at a common pace?

What is the hash in local css and js?

When discussing local css and js, you have a [hash] in several locations. E.g.

"…which after inclusion becomes:

<link rel="stylesheet" href="/shopping-cart/component/style-[hash].css">
<script src="/shopping-cart/component/script-[hash].js"></script>

What does this [hash] mean?

List assumptions

  • consumer facing site
  • "mobile" is as important as "desktop"
  • time-to-first-interaction is important
  • long-term evolvability primarily comes from possibility to be/become heterogeneous

Wrong about included CSS references in AJAX responses

I did a mistake about including CSS references (<link rel="stylesheet" src="..." />) in AJAX responses, i.e. fragments used by h-include. It doesn't work, so the approach instead needs to be to use a "loader" (like for JS).

I'll update the text when I have the time...

Clarify ESI performance risks

It doesn't need to be a problem for the page if the transcluded service is down, since ESI have support for exception handling attributes.

However, if the transcluded service has performance problems (server overload or for other reason hangs) the page will hang.

There is a timeout (or similar) attribute, I think, but it would still cause the page to hang for T ms, where T is the timeout length.

Of course, depending on where in the HTML response the hanging ESI element is and if the ESI implementation supports streamed responses (I think Varnish does now?)

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.