How to remove the hash from Compass's generated sprite image filenames?

后端 未结 4 1221
轻奢々
轻奢々 2020-12-05 08:24

Compass uses chunky_png to render the sprites. It adds a hash to the end of the file to force caches to download the new image sprites. Is there a way to turn this cache bus

4条回答
  •  一向
    一向 (楼主)
    2020-12-05 08:47

    Set asset_cache_buster :none in your config.rb as documented in their configuration reference

提交回复
热议问题