 let cacheLockObject = NSObject()
 
 private let URLProtocolHandledRequestKey = "URLProtocolHandledRequestKey"
+public var shouldRetrieveFromOfflineCacheByDefault = false
 
 /**
     URLProtocol is an NSURLProtocol in charge of ensuring

        }

        let scheme = request.URL?.scheme
        return scheme == "http" || scheme == "https"
    }

    /**

        if NSURLProtocol.propertyForKey(URLProtocolHandledRequestKey, inRequest: request) != nil {
            return false
        }

        if let avoidCache = NSURLProtocol.propertyForKey(MattressAvoidCacheRequestPropertyKey, inRequest: request) as? Bool {
            // We've flagged this request to avoid retreiving from cache
            if avoidCache == true {
