Skip to content

Commit 6f1d3ae

Browse files
authored
Merge pull request #137 from cloudinary/fix/cached-fonts
Cached fonts
2 parents 2a1c234 + 22bbb9d commit 6f1d3ae

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/css/cloudinary.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/css/src/components/_brand.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@font-face {
22
font-family : 'cloudinary';
3-
src : url('fonts/cloudinary.eot?xr4567gh');
4-
src : url('fonts/cloudinary.eot?xr4567gh#iefix') format('embedded-opentype'),
5-
url('fonts/cloudinary.ttf?xr4567gh') format('truetype'),
6-
url('fonts/cloudinary.woff?xr4567gh') format('woff'),
7-
url('fonts/cloudinary.svg?xr4567gh#cloudinary') format('svg');
3+
src : url('fonts/cloudinary.eot');
4+
src : url('fonts/cloudinary.eot?x#iefix') format('embedded-opentype'),
5+
url('fonts/cloudinary.ttf') format('truetype'),
6+
url('fonts/cloudinary.woff') format('woff'),
7+
url('fonts/cloudinary.svg?x#cloudinary') format('svg');
88
font-weight : normal;
99
font-style : normal;
1010
}

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const cldCore = {
6464
{
6565
loader: 'file-loader',
6666
options: {
67-
name: '[name].[ext]',
67+
name: '[name].[contenthash].[ext]',
6868
outputPath: '../css/fonts/'
6969
}
7070
}

0 commit comments

Comments
 (0)