Skip to content
Snippets Groups Projects
Commit 18433c6c authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

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
parents abb2ead4 4a27966e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment