David Heinemeier Hansson
David Heinemeier Hansson
We need to fix this at the root. The no-cache setup isn't going to work for production either. Need to invalidate files when their dependencies have changed. There are several...
@gingerlime Could you try https://github.com/rails/propshaft/issues/110 and ensure that still works for you?
Re: production accumulation of digest chunks, is this an issue because you're using Heroku or something? With a containerized deployment, like Kamal, each container should be starting with a fresh...
I did mean 0.9, yes. If you're talking about cleanup of digested files, I don't know that there is a straight shot there. It's also not a problem that affects...
I've hit that service worker issue as well, but it seems a bit much to send that specific header with every asset request, no? Although maybe it's not a big...
Hmm, I don't love this being service worker specific. Propshaft shouldn't know anything about specific files, types, or whatever. If we need to add/change headers, it needs to be a...
We've added default PWA files that are routed through a controller in Rails now. I think that's a better solution.
@brenogazzola We'd need to introduce two digests to deal with this, yeah? Basically a raw source digest and a processed source digest. And then keep those straight for when to...
Fixed by https://github.com/rails/propshaft/pull/188
Seems to me that the bundler plugins should be adding app/javascript/builds/.keep when they're setup?