5 .htaccess Snippets to Borrow from HTML5 Boilerplate
▻http://davidwalsh.name/html5-boilerplate-htaccess
Je suis étonné par le
Allow Cross-Domain Fonts with CORS
I had no idea how big of a response I’d have when I first posted about cross-domain fonts. They’re a big, confusing problem for people but HTML5BP also has a solution:
<IfModule mod_headers.c>
<FilesMatch “\.(eot|otf|ttc|ttf|woff)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
Cela veut dire qu’on peut me faire avaler du google-font sans que je le sache ? Si oui, c’est à proscrire totalement, naturellement.