Fork me on GitHub

assets

    speed up assets precompile with turbo-sprockets-rails3

    23 Nov 2012

    Richard Huang

    Rails is integrated with sprockets from 3.1, which gives you the power to pre-process, compress and minify your assets. It's awesome, but it slows down deployment a lot. Read More

    Tags 


    Put scripts at the bottom

    30 Aug 2010

    Richard Huang

    Do you experience that your website renders slow due to loading a lot of javascripts, especially loading some third-party javascripts? Move script tags to the bottom of body can speed up the render of your website. Read More

    Tags 


    Use css sprite automatically

    15 Aug 2010

    Richard Huang

    Using css sprite can reduce a large number of http requests, so it makes the web page loaded much faster. It it painful to composite a lot of images manually, do it automatically. Read More

    Tags 


    Use asset_host for production server

    31 Jul 2010

    Richard Huang

    Use asset host for cookie-free domains for components, that make your components load faster. Read More

    Tags