geobtaa / geoportal

Big Ten Academic Alliance Geoportal
Other
10 stars 5 forks source link

Performance - Use a CDN with Rails Active Storage and app static assets #537

Open ewlarson opened 9 months ago

ewlarson commented 9 months ago

The Geoportal is slow. Let's fix that...

We'd really benefit from proxying our Active Storage file requests through a CDN. Amazon S3 + Amazon CloudFront would be a good option. We'd do best by adding our CSS and JS to the CDN too, there are Capistrano extensions for S3.

The CDN will cache all these file requests (search result thumbs, etc) and help to reduce page load times.