Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Commit 8456393

Browse files
authored
Merge pull request #78 from UziTech/UziTech-cachebuster-docs
cachebuster example input
2 parents 248868c + 0375617 commit 8456393

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,24 @@ var options = {
148148
Cachebuster
149149
-----------
150150

151-
PostCSS Assets can bust assets cache, changing urls depending on asset’s modification date:
151+
PostCSS Assets can bust assets cache:
152152

153153
```js
154154
var options = {
155155
cachebuster: true
156156
};
157157
```
158158

159+
Example:
160+
161+
```css
162+
body {
163+
background: resolve('/images/icons/baz.png');
164+
}
165+
```
166+
167+
PostCSS Assets will change urls depending on asset’s modification date:
168+
159169
```css
160170
body {
161171
background: url('/images/icons/baz.png?14a931c501f');

0 commit comments

Comments
 (0)