According to this document, the public/
directory should contain static assets that can be served as they are, while the optional app/assets
directory should contain any asset that needs to be processed, for example, by the minify compiler during the build phase.
In case of a SPA (Single Page Application), assets would include JavaScript, CSS, and image files... so does this mean that images files should be stored in public/images
while JavaScript and CSS files in app/assets/
?
Then, I also need to integrate a third party module that consists of both minified JavaScript libraries and non-minified JavaScript files that need to be customized... How should I manage this? Should I keep standard, already-minified assets in public/
and move customized JavaScript files to app/assets/javascripts/
?