XF 1.5 Image Proxy

#1
Hi guys,

I would like to use short a "image cache lifetime" value. Will the pictures be refreshed even though they are displayed continuously?
 

Mike

XenForo developer
Staff member
#2
Note that the minimum is still 1 day. Setting this would essentially ensure that any image would only be kept for a day and then refetched as needed.
 
#3
Note that the minimum is still 1 day. Setting this would essentially ensure that any image would only be kept for a day and then refetched as needed.
Hi @Mike ,

I want to make the settings as follows:

image-cache.jpg

If the picture is requested again within ten days, will it still be renewed?
 

Mike

XenForo developer
Staff member
#4
To clarify, are you asking if, after 5 days, the image will be refreshed when viewed? Based on your screenshot, no; it would only be refreshed every 10 days.
 
#5
@Mike
  1. If image source would be 404 on next update, image would be removed from Image Proxy cache too?
  2. If image source would return some kind of "image is unavailable" image, it would be updated in Image Proxy too?
 

Mike

XenForo developer
Staff member
#6
If an image 404s on an update, the old version will be served until the image "naturally" expires. We will continue occasionally attempting to fetch it until it errors too many times (then we assume a permanent error).

If an image is returned and it uses a 2xx response code, that image will be assumed to be the correct image and the proxy would be updated with it.
 
Top