You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a requested feature enhancement to the package to support versioning for file uploads to S3. The current implementation uploads files to a fixed path specified in the config file. To improve the management and organization of files, especially in applications that undergo frequent updates, it would be beneficial to append a version number to the base path during the upload process.
Proposed Solution:
Introduce a --version option to the cdn:push command. This option should allow users to specify a version number that will be appended to the base path from the config file. This way, files can be versioned and organized more effectively on S3.
Use Case:
By specifying a version number, the cdn:push command can handle uploads like so:
Configured base path: s3://my-bucket/path/to/files/
Version number: 1.0.0
Final upload path: s3://my-bucket/path/to/files/1.0.0/
Benefits:
Improved file organization on S3.
Easier rollback to previous versions by retaining files under versioned paths.
Enhanced control over caching and CDN invalidation.
The text was updated successfully, but these errors were encountered:
Description:
Here is a requested feature enhancement to the package to support versioning for file uploads to S3. The current implementation uploads files to a fixed path specified in the config file. To improve the management and organization of files, especially in applications that undergo frequent updates, it would be beneficial to append a version number to the base path during the upload process.
Proposed Solution:
Introduce a --version option to the cdn:push command. This option should allow users to specify a version number that will be appended to the base path from the config file. This way, files can be versioned and organized more effectively on S3.
Use Case:
By specifying a version number, the cdn:push command can handle uploads like so:
Benefits:
The text was updated successfully, but these errors were encountered: