     /// Initializes a StaticFileServer instance
     ///
     public init (path: String = "./public", options: Options = Options(),
-                 cacheOptions: CacheOptions = CacheOptions(),
                  customResponseHeadersSetter: ResponseHeadersSetter? = nil) {
         var path = path
         if path.hasSuffix("/") {

        let possibleExtensions: [String]
        let redirect: Bool
        let serveIndexForDirectory: Bool

        init(possibleExtensions: [String] = [], serveIndexForDirectory: Bool = true,
             redirect: Bool = true) {
            self.possibleExtensions = possibleExtensions
            self.serveIndexForDirectory = serveIndexForDirectory
            self.redirect = redirect
        }
    }


#else
        path = path.bridge().expandingTildeInPath
#endif
        let cacheOptions = options.cacheOptions
        let cacheRelatedHeadersSetter =
            CacheRelatedHeadersSetter(addLastModifiedHeader: cacheOptions.addLastModifiedHeader,
                                      maxAgeCacheControlHeader: cacheOptions.maxAgeCacheControlHeader,
