Skip to content

Commit

Permalink
Implement drop cache on every template rebuilding
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Jan 28, 2015
1 parent 73ac581 commit 5607107
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/blocks/common.blocks/page/__css/page__css.bemtree
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ block('page').elem('css')(
var elem = this.elem;

return [
{ elem: elem, url: this._pathToBundle + '.css', ie: false },
{ elem: elem, url: this._pathToBundle + '.ie.css', ie: 'lte IE 9' }
{ elem: elem, url: this._pathToBundle + '.css' + '?v=' + (+(new Date())), ie: false },
{ elem: elem, url: this._pathToBundle + '.ie.css' + '?v=' + (+(new Date())), ie: 'lte IE 9' }
];
})
);
2 changes: 1 addition & 1 deletion src/blocks/common.blocks/page/__js/page__js.bemtree
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ block('page').elem('js')(
{ elem: elem, url: '//yastatic.net/es5-shims/0.0.1/es5-shims.min.js' },
'<![endif]-->',
{ elem: elem, url: '//yastatic.net/jquery/1.10.2/jquery.min.js' },
{ elem: elem, url: this._pathToBundle + '.js' }
{ elem: elem, url: this._pathToBundle + '.js' + '?v=' + (+(new Date())) }
];
})
);

0 comments on commit 5607107

Please sign in to comment.