Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

IE cache busting is incomplete #343

Open
pmd-bgermain opened this issue Jun 21, 2016 · 1 comment
Open

IE cache busting is incomplete #343

pmd-bgermain opened this issue Jun 21, 2016 · 1 comment

Comments

@pmd-bgermain
Copy link

Hi,

I am using your grunt-webfont task in my process for building websites and I found that it does create a hash for the #iefix and I can't find a way to add it using the template and templateOptions of the grunt plugin.

Here is what I have :
@font-face { font-family:"icons"; src:url("fonts/icons.eot?f30e627bd5abb297d045dd2dceeaa7f8"); src:url("fonts/icons.eot?#iefix") format("embedded-opentype"), url("fonts/icons.woff2?f30e627bd5abb297d045dd2dceeaa7f8") format("woff2"), url("fonts/icons.woff?f30e627bd5abb297d045dd2dceeaa7f8") format("woff"), url("fonts/icons.ttf?f30e627bd5abb297d045dd2dceeaa7f8") format("truetype"), url("fonts/icons.svg?f30e627bd5abb297d045dd2dceeaa7f8#icons") format("svg"); font-weight:normal; font-style:normal; }

I think we need something like this for cache busting :
@font-face { font-family:"icons"; src:url("fonts/icons.eot?f30e627bd5abb297d045dd2dceeaa7f8"); src:url("fonts/**icons.eot?f30e627bd5abb297d045dd2dceeaa7f8#iefix**") format("embedded-opentype"), url("fonts/icons.woff2?f30e627bd5abb297d045dd2dceeaa7f8") format("woff2"), url("fonts/icons.woff?f30e627bd5abb297d045dd2dceeaa7f8") format("woff"), url("fonts/icons.ttf?f30e627bd5abb297d045dd2dceeaa7f8") format("truetype"), url("fonts/icons.svg?f30e627bd5abb297d045dd2dceeaa7f8#icons") format("svg"); font-weight:normal; font-style:normal; }

Thanks for your help

@kgibb
Copy link

kgibb commented Feb 24, 2017

Hi, I'm also seeing this issue. Any reason why the hash isn't added to IE?

rubenOF added a commit to rubenOF/grunt-webfont that referenced this issue Jul 27, 2017
alampros pushed a commit that referenced this issue Aug 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants