Code Monkey home page Code Monkey logo

Comments (3)

ryanfb avatar ryanfb commented on July 30, 2024 1

A lot of people use CDNs with Rails by having a CDN asset subdomain that serves requests by caching assets proxied from the main domain. In this case, the files would be served by Propshaft to the CDN then re-distributed to end users, so being able to easily set SRI on JS/CSS assets is still needed to guard against CDN compromise (the HTML with the SRI attributes is still served from the main Rails domain instead of the CDN subdomain).

from propshaft.

brenogazzola avatar brenogazzola commented on July 30, 2024

Is there any further interest in this? From what I understand this was mainly created to ensure a CDN has not been compromised, so I'm not sure how much this helps with files served by Propshaft, since in theory those were created by the app and delivered through HTTPs?

from propshaft.

brenogazzola avatar brenogazzola commented on July 30, 2024

@mintuhouse @ryanfb I've talked to the other maintainers, and for now we've decided to focus on Propshaft's main features (full support for no-build, better support for builders). This means that for features that might be desirable, but are not core, we recommend sticking to Sprockets. Therefore I'm closing this issue. We can however revisit this at a later date.

from propshaft.

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.