Store assets (and optional regex) in the original public stream when s3fs.use_s3_for_public is set

Created on 23 March 2023, over 1 year ago
Updated 11 April 2023, about 1 year ago

I was unsure on storing the aggregated css on the s3, as I like to use both Cloudflare as well as I don't mind having that locally. This led me to think of a way to provide a mean to ignore certain public paths from using s3.

I came up with a mean to do this through a new settings: s3fs.use_s3_for_public.assets_ignore that if set to FALSE it will ignore css, this is done with a special pattern.

This is still a WIP, but it's functional and it works.

I'd like to hear if this is something interesting for the maintainers (or anybody else) to push forward.

We are not yet sure we will be using this internally, but I want to not lose the work done around it.

Some TODO:

- provide a mean to override (or merge) regex pattern, probably with another setting
- Advg aggregation needs proper review to see if it's supported by the current regex (I think they do)

✨ Feature request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡·Argentina hanoii πŸ‡¦πŸ‡·UTC-3

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

Comments & Activities

Production build 0.69.0 2024