Going through the Google PageSpeed Insights report
(
https://developers.google.com/speed/pagespeed/insights) to see what I
should optimise to improve my site-load speed.
The two high priority ones to worry about are:
- Leverage browser caching
- Enable compression
How do I deal with these internally to web2py and on heroku?
(e.g.: Rocket doesn't support gzip; so how do I configure this on
heroku? - All the guides I saw were for Django or Flask…)
FYI: I have also enabled these two lines in my db.py:
response.optimize_css = 'concat,minify,inline'
response.optimize_js = 'concat,minify,inline'
How do I optimize these "High priority" metrics PageSpeed found?
Thanks for all suggestions,
Alec Taylor