• Antonio Terceiro's avatar
    Fix caching theme stylesheet with asset pipeline · e520c0fb
    Antonio Terceiro authored
    If stylesheet_link_tag gets's an absolute path starting with /assets, it
    won't append a hash of the file contents to the URL, so if you update a
    theme you won't get a new URL and varnish will cache the old stylesheet
    for a month or so.
    e520c0fb
layout_helper.rb 3.16 KB