Question
How to handle small files for DO's Spaces performance?
I’m using Spaces to host image assets with small file sizes, hanging from 5kb to 50kb.
From what I’ve seen in the “Improve DO Spaces Performance” tutorial, this is an issue, but it doesn’t tell how to handle this situation and I had no luck searching on google.
I simple use <img src=“spaces-cdn-url-for-file”>.
How can I pack the images into some bigger files and make the web app unpack and use them?
PS: It’s a rails app.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×