Provide a module for serving agregated CSS and JSS from local public filesystem instead of S3 when option "use_s3_for_public" is used

Created on 17 September 2019, over 5 years ago
Updated 26 July 2023, over 1 year ago

I had problems with my CSS and JS aggregated files being stored and served from S3, because it was more difficult to serve them compressed. I know that it could be possible to play with S3 metadata, but this is my quick and easy approach:

I've created a module that replaces asset.css.dumper and asset.js.dumper services, making them to use a new custom Dumper class using a custom stream which is indeed the real core PublicStream.

It could be interesting adding it as a s3fs submodule, or make its funcionality part of some already existing.

Hope it helps!

Feature request
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

🇪🇸Spain vidorado Pamplona (Navarra)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024