     @cache = options?.cache
     @network = options?.network or ['*']
     @fallback = options?.fallback
+    @settings = options?.settings
 
   apply: (compiler) ->
     compiler.plugin 'emit', (compilation, callback) =>
-      appCache = new AppCache @cache, @network, @fallback, compilation.hash
+      appCache = new AppCache @cache, @network, @fallback, @settings, compilation.hash
       appCache.addAsset key for key in Object.keys compilation.assets
       compilation.assets['manifest.appcache'] = appCache
       callback()

        if @cache?.length then "CACHE:\n#{@cache.join '\n'}\n"
        if @network?.length then "NETWORK:\n#{@network.join '\n'}\n"
        if @fallback?.length then "FALLBACK:\n#{@fallback.join '\n'}\n"
      ].filter((v) -> v?.length).join '\n'

    source: ->

class AppCachePlugin

  @AppCache = class AppCache
    constructor: (@cache, @network, @fallback, @settings, @hash) -> @assets = []

    addAsset: (asset) -> @assets.push encodeURI(asset)

