juliocesar / rack-pagespeed

Page optimizations done at the Rack level
http://rack-pagespeed.heroku.com
241 stars 22 forks source link

Not working, but no error either on Rails #40

Open rachitgarg opened 10 years ago

rachitgarg commented 10 years ago

I am trying to implement pagespeed to my rails app. Everything is going well, no errors but the javascripts are not getting minified. I have no idea what is going wrong. HELP !!

I have written this in application.rb and also have include require 'rack/pagespeed' in it. Code--> config.middleware.use Rack::PageSpeed, :public => Rails.public_path do store :disk => Rails.public_path inline_javascripts :max_size => 100000 inline_css :max_size => 100000 combine_javascripts combine_css minify_javascripts end

juliocesar commented 10 years ago

Hey!

I haven't used rack-pagespeed for a while now myself. These days I recommend different tools for doing that.

Rails itself has compression and bundling (through Sprockets) via the asset pipeline.

So, no idea when I'd fix this!

rachitgarg commented 10 years ago

OK Thanks !! Let me know if you find anything on this. Also, which tools would you recommend to use if not pagespeed ??

rachitgarg commented 10 years ago

Hey...could you please send me a sample project on which all the pagespeed filters are working so that I can have a look and see what is going wrong at my end.