-
Notifications
You must be signed in to change notification settings - Fork 1
Description
We've experienced an intermittent bug that is, sadly, non-trivial to reproduce and only seems to impact "squished" CSS.
Essentially Chrome is caching one of our bundled css assets, produced by Squishit. The cached file suddenly stops being UTF-8, and is encoded as Windows-1252 instead.
As far as I can tell, SquishIt isn't modifying BOM or doing anything surprising. However, Squishit.S3 also doesn't have a way to ensure the content type is set to UTF-8 when uploading to S3, and there seems to be little mention of content / mime types generally as far as I can tell.
This bug feels very much to be a Chrome issue - however, I can't find a way to force the content / mime type of squishit bundled files to try and forcibly fix the issue.
Has anyone run into this issue before? Is there a way to force the content /mime type, or BOM, of bundled files?