Perhaps we could not cache /images/otherimages/zonefont/* for systems with case insensitive filesystems.
Which would be only Windows, although I'd prefer to not hardcode the OS.
Google is not showing me a standard java method to detect that.
Perhaps simply don't cache that directory, period.
Code:
[color=green]> debug on[/color]
[color=green]ashq visit_url( "http://images.kingdomofloathing.com/otherimages/zonefont/a.gif" )[/color]
[color=green]> debug off[/color]
got me a DEBUG log.
Code:
Requesting: http://images.kingdomofloathing.com/otherimages/zonefont/a.gif
1 request properties
Field: User-Agent = [Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0]
Retrieving server reply...
Retrieved: http://images.kingdomofloathing.com/otherimages/zonefont/a.gif
12 header fields
Field: Accept-Ranges = [bytes]
Field: null = [HTTP/1.1 200 OK]
Field: x-amz-meta-s3cmd-attrs = [uid:1003/gname:asym_images/uname:jick/gid:1000/mode:33204/mtime:1358445627/atime:1458776303/md5:43a2e1926d28940a2291e9d2a4e29533/ctime:1381342807]
Field: Server = [AmazonS3]
Field: Cache-Control = [public,max-age=31536000]
Field: ETag = ["43a2e1926d28940a2291e9d2a4e29533"]
Field: Last-Modified = [Mon, 28 Mar 2016 20:44:31 GMT]
Field: x-amz-request-id = [356CD0062773F560]
Field: Content-Length = [832]
Field: x-amz-id-2 = [8SxpKJOoL0EvizthUOwTQoBrz3axgKNtWQ3xlYLhLJ4MZZ5lIQCbibW15q0orD41OYPZGSU6XmE=]
Field: Date = [Wed, 25 Jan 2017 15:14:38 GMT]
Field: Content-Type = [image/gif]
Retrieving server reply
ResponseText has 829 characters.
I was hoping the request itself might say "don't cache this", which we were ignoring, but, no.