Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
When refreshing a proxied image, XF\Service\ImageProxy::finalizeFromFetchResults() always does write the image file on success even if nothing has changed.This does seem inefficient as it does cause more writes than necessary which could be an issue when using short refresh times and SSDs.The file should therefore only be written if the data actually has changed, ideally by using a hash stored in the DB.
When refreshing a proxied image, XF\Service\ImageProxy::finalizeFromFetchResults() always does write the image file on success even if nothing has changed.
XF\Service\ImageProxy::finalizeFromFetchResults()
This does seem inefficient as it does cause more writes than necessary which could be an issue when using short refresh times and SSDs.
The file should therefore only be written if the data actually has changed, ideally by using a hash stored in the DB.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences