benhoIIand / grunt-cache-bust

Cache bust static assets using content hashing
MIT License
265 stars 103 forks source link

when two page have the same css file, the grunt-cache-bust.json DO NOT contain the css file #166

Closed dukai closed 8 years ago

dukai commented 9 years ago

HTML file one:

<html>
<head>
<link rel="stylesheet" type="text/css" href="../css/item.css" />
</head>
</html>

HTML file two:

<html>
<head>
<link rel="stylesheet" type="text/css" href="../css/item.css" />
</head>
</html>

The css file item.css does not exist in grunt-cache-bust.json

benhoIIand commented 8 years ago

Very strange. Thanks for the heads up

benhoIIand commented 8 years ago

I've tested this in feature/v1.0.0-beta branch and is working fine. See #147 for me details.