reference: https://www.drupal.org/node/1622904#comment-8789815
grep -rl $'\xEF\xBB\xBF' /var/www/your_drupal_project > file_with_boms.txt
while read l; do sed -i '1 s/^\xef\xbb\xbf//' $l; done < file_with_boms.txt
./sites/all/themes/adminimal_theme/css/images/config/services-medium.png
./sites/all/themes/adminimal_theme/css/images/config/user-interface-medium.png
./sites/all/themes/adminimal_theme/css/images/config/gears-small.png
./sites/all/themes/adminimal_theme/css/images/config/regional-medium.png
./sites/all/themes/adminimal_theme/css/images/config/organic-groups-small.png
./sites/all/themes/adminimal_theme/css/images/config/messaging-small.png
./sites/all/themes/adminimal_theme/css/images/config/pen-medium.png
./sites/all/themes/adminimal_theme/css/images/config/regional-small.png
./sites/all/themes/adminimal_theme/css/images/config/people-medium.png
./sites/all/themes/adminimal_theme/css/images/config/calendar-small.png
./sites/all/themes/adminimal_theme/css/images/config/search-small.png
./sites/all/themes/adminimal_theme/css/images/config/user-interface-small.png
./sites/all/themes/adminimal_theme/css/images/config/organic-groups-medium.png
./sites/all/themes/adminimal_theme/css/images/config/development-medium.png
./sites/all/themes/adminimal_theme/css/images/config/workflow-medium.png
./sites/all/themes/adminimal_theme/css/images/config/development-small.png
./sites/all/themes/adminimal_theme/css/images/config/media-medium.png
./sites/all/themes/adminimal_theme/css/images/config/system-medium.png
./sites/all/themes/adminimal_theme/css/images/config/media-small.png
./sites/all/themes/adminimal_theme/css/images/config/system-small.png
./sites/all/themes/adminimal_theme/css/images/config/workflow-small.png
./sites/all/themes/adminimal_theme/css/images/config/calendar-medium.png
./sites/all/themes/adminimal_theme/css/images/config/people-small.png
./sites/all/themes/adminimal_theme/css/images/config/messaging-medium.png
./sites/all/themes/adminimal_theme/css/images/config/gears-medium.png
./sites/all/themes/adminimal_theme/css/images/config/services-small.png
./sites/all/themes/adminimal_theme/css/images/config/search-medium.png
./sites/all/themes/adminimal_theme/css/images/config/pen-small.png
./sites/all/themes/adminimal_theme/css/images/circle-arrow-small.png
./sites/all/themes/adminimal_theme/css/images/error.png
./sites/all/themes/adminimal_theme/css/images/list-item.png
./sites/all/themes/adminimal_theme/css/images/alert.png
./sites/all/themes/adminimal_theme/css/images/x-white.png
./sites/all/themes/adminimal_theme/css/images/check.png
./sites/all/themes/adminimal_theme/css/images/small-bullet.png
./sites/all/themes/adminimal_theme/screenshot.png
./sites/all/themes/adminimal_theme/images/circle-arrow-small.png
./sites/all/themes/adminimal_theme/images/error.png
./sites/all/themes/adminimal_theme/images/list-item.png
./sites/all/themes/adminimal_theme/images/alert.png
./sites/all/themes/adminimal_theme/images/check.png
./sites/all/themes/adminimal_theme/images/small-bullet.png
Causes issues with caching.
Comments
Comment #1
achton@mausolos: The BOM is a Unicode character which only applies to text, not binary files. I think what you have found is a bunch of files that happen to contain the BOM byte sequence (0xEF,0xBB,0xBF). I believe there must be some other explanation for your caching issues.
Same goes for your issue here: https://www.drupal.org/node/2370467
Comment #2
ANDiTKO CreditAttribution: ANDiTKO commented@achton Exactly what i was thinking.
@mausolos do you have issues with caching only when using Adminimal Theme? or in general?
Comment #3
mausolos CreditAttribution: mausolos commentedIt was only when using Adminimal Theme. In the end, I did some kind of workaround to avoid the issue entirely (though I can't remember what it is?)
Comment #4
ANDiTKO CreditAttribution: ANDiTKO commentedIm closing this. Since i cannot reproduce the caching problem that you had.
If anyone get a similar issue, feel free to re-open and provide details of how to re-produce.
Thank you!