From: Andrew Dolgov Date: Sun, 16 Aug 2015 06:40:59 +0000 (+0300) Subject: Merge branch 'keep-cached-images-fresh' into 'master' X-Git-Tag: 16.3~129^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=18433c6c1824aa46c8328925f15be95897acadd9;p=tt-rss.git Merge branch 'keep-cached-images-fresh' into 'master' Keep local cached images fresh if file exists. Updates the cache_images() function to `touch` images if the file exists already. Some sites (e.g. news) re-use stock images and this change updates the local file's modified time every time the image is referenced in new articles. This should prevent the local file from being expired/deleted only to be re-cached later on. See merge request !9 --- 18433c6c1824aa46c8328925f15be95897acadd9