Reputation: 219
We have a significant load on our grails servers. I'm using lsof to show open files and I'm seeing multiple open file handles for each of our css and js files. We have very few such files, so I think it would make a lot more sense to just cache them in memory and avoid going to the OS for them (avoiding kernel/fs/file handle overhead even if the OS caches them).
Is there some configuration for asset pipeline or something (another plugin?) that will tell it to cache these files in memory and not request them from disk?
Upvotes: 0
Views: 234
Reputation: 406
Which version of asset-pipeline plugin do you use? There was an issue with caching of assets in https: https://github.com/bertramdev/grails-asset-pipeline/issues/368
We've fixed this by updating the asset-pipepline dependencies to a newer version in your application.
Or do you have a lot of unique visitors?
Upvotes: 0