Giter Site home page Giter Site logo

Comments (2)

jellegerbrandy avatar jellegerbrandy commented on June 12, 2024

This is a good point, but I would phrase it differently, because there are also other types of solutions.

For sharing (oembed) and for web crawlers that do not support javascript, we need to service different pages at URLs like play/someVideo. In particular, we need to set headers specifically for the video, and show some content specifically for that video.

Note that this issue is only relevant for non-javascript enabled clients (<-- I'm not 100% sure about this).

There are (I think) two types of solutions here:

  1. Server side rendering
  2. Create a separate middleware (at the Apache/nginx level) that sets the appropriate headers

SSR of course also has optimization benefits, and gives us more control over what info we serve.

@enricocicconi : what do you thing?

from paratii-portal.

jellegerbrandy avatar jellegerbrandy commented on June 12, 2024

closing this as it is already discusse din #55 and tracked in PR #57

from paratii-portal.

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.