Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommendation for cleaning up local assets after upload? #433

Open
f1sherman opened this issue May 18, 2023 · 1 comment
Open

Recommendation for cleaning up local assets after upload? #433

f1sherman opened this issue May 18, 2023 · 1 comment

Comments

@f1sherman
Copy link

I searched the documentation and issues in this repo and couldn't find an answer to this, my apologies if I missed something.

After assets are uploaded to the CDN, can they be deleted from the local Rails app? We're deploying via Docker and it would help greatly if we didn't need to include the assets in the Docker image. Do we need to keep the manifest-*.json? I'm sure someone has solved this, just looking for some guidance. Thank you!

@PikachuEXE
Copy link
Member

manifest file probably still needed to generate asset URLs
But I guess with proper setup the local asset files can be excluded?
Test on different environment first of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants