-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
status: feedback-providedFeedback has been providedFeedback has been provided
Description
There's this bug in IE that the fonts from fonts awesome don't work very well with https. It has some problems with caching or something. (see FortAwesome/Font-Awesome#6454 )
To get around this, we set up a filter registration bean.
@Bean
public FilterRegistrationBean fixIeHttpsFontCache() {
FilterRegistrationBean registration = new FilterRegistrationBean();
registration.setFilter(new InternetExplorerHttpsFontFilter);
registration.setDispatcherTypes(EnumSet.allOf(DispatcherType.class));
registration.setUrlPatterns(/*urls for fonts */);
return registration;
}
The Internet Explorer Https Font filter would just set the http request headers to
Expires -1
Cache-control public
Pragma cache
This worked fine until 1.4.4, but on 1.5.1 it no longer works. I'm guessing that the way to set headers has changed lately or that the filters should be registered differently?
Metadata
Metadata
Assignees
Labels
status: feedback-providedFeedback has been providedFeedback has been provided