Check URL scheme and ignore fragment in Cache.