Closed ghost closed 6 years ago
You could remove compress_css and javascript_compressor. Rails can compile your css and javascript during asset compilation
@amdstorm compress_css and javascript_compressor compress the javascript and styles inside the page (<script>
and <style>
tags) and not the external ones linked by the page. Last time I checked Rails does exactly the opposite thing, only compress external files (static assets) and not the one in the html page.
Has this changed?
@ginolon sorry for overlooking this issue, but @amdstorm is basically right, the css and javascript compressors may cause a slowdown
Hi guys,
If I use this config my site slow down a bit. You can say me why?
I followed this guide: https://remino.net/rails-html-css-js-gzip-compression/