Skip to content

Commit a8be6ef

Browse files
authored
[4.3] Better cache invalidation (#40893)
1 parent 4795ba2 commit a8be6ef

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_media/resources/scripts/components/browser/items

1 file changed

+1
-1
lines changed

administrator/components/com_media/resources/scripts/components/browser/items/image.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
}
7878
7979
return this.item.thumb_path.split(Joomla.getOptions('system.paths').rootFull).length > 1
80-
? `${this.item.thumb_path}?${api.mediaVersion}`
80+
? `${this.item.thumb_path}?${this.item.modified_date ? new Date(this.item.modified_date).valueOf() : api.mediaVersion}`
8181
: `${this.item.thumb_path}`;
8282
},
8383
width() {

0 commit comments

Comments
 (0)