OctoDev Posted October 27, 2015 Posted October 27, 2015 We have a option now to finally proxy remote images, however this could be quiet bandwidth draining to constantly download, then upload to client. Some other forum softwares, have ability to cache the images, where we can cache them for example one day, or a week. This would save a lot of bandwidth using it. Option to cache image, and set cache length. Also set max size for images to be served.
Management Lindy Posted October 27, 2015 Management Posted October 27, 2015 It's something we're going to look at in a future release and unfortunately didn't make the cut for 4.1.
OctoDev Posted October 27, 2015 Author Posted October 27, 2015 6 minutes ago, Lindy said: It's something we're going to look at in a future release and unfortunately didn't make the cut for 4.1. Cheers, that would be awesome. Not too sure how long you can extend it, to even let us cache using memcached? i have 32GB Ram so would have no issue lol
BigStamp Posted November 19, 2015 Posted November 19, 2015 I really do hope this is implemented soon. id also like to see the option to be able to cache indefinitely or for images to be imported. To help deal with the broken images.
Management Lindy Posted November 20, 2015 Management Posted November 20, 2015 4.1.4 has basic image proxy caching.
BigStamp Posted November 20, 2015 Posted November 20, 2015 45 minutes ago, Lindy said: 4.1.4 has basic image proxy caching. You've just made my day! Only thing left on my check-list now before conversion is for the actually converters to be released.
OctoDev Posted November 20, 2015 Author Posted November 20, 2015 2 hours ago, Lindy said: 4.1.4 has basic image proxy caching. lovely
nodle Posted December 5, 2015 Posted December 5, 2015 When enabling this option does it download and store the image permanently, or does it just fetch it temporary and then delete itself?
Hexsplosions Posted December 5, 2015 Posted December 5, 2015 4 minutes ago, nodle said: When enabling this option does it download and store the image permanently, or does it just fetch it temporary and then delete itself? You can configure this. You can cache for a number of days or indefinitely. If you elect to cache for a number of days and the content is viewed after the cache has expired, it will be re-retrieved and cached again.
nodle Posted December 5, 2015 Posted December 5, 2015 Just now, Evil Edwina said: You can configure this. You can cache for a number of days or indefinitely. If you elect to cache for a number of days and the content is viewed after the cache has expired, it will be re-retrieved and cached again. Thank you sir!
sobrenome Posted December 6, 2015 Posted December 6, 2015 Download and store external images localy would be awsome. There is a plugin for Ckeditor that does it, but could not make it work.
Hexsplosions Posted December 6, 2015 Posted December 6, 2015 4 hours ago, sobrenome said: Download and store external images localy would be awsome. There is a plugin for Ckeditor that does it, but could not make it work. That's essentially what it does. I have found, however, that it doesn't always work or work everywhere it should. Signatures and forum descriptions are two places I've seen it fail. I have a bug raised about it.
chilihead Posted December 6, 2015 Posted December 6, 2015 On 11/19/2015, 5:33:02, BigStamp said: id also like to see the option to be able to cache indefinitely or for images to be imported. To help deal with the broken images. There could be legal ramifications with this, not sure. As a site owner your system could be uploading copyrighted images to your server instead of leaving them remotely hosted. Could be legal issues with that functionality. Of course all social sites are rampant with copyrighted images, but their software is not uploading intended remote images. Seems the onus would switch to you. Caching seems like more of a loophole, and what Google does for results pages. To a point, semantics though, and just food for thought, always seek legal advice. On 11/20/2015, 2:18:24, Lindy said: 4.1.4 has basic image proxy caching. Nice!
chilihead Posted December 6, 2015 Posted December 6, 2015 On 12/5/2015, 10:31:46, Evil Edwina said: You can configure this. You can cache for a number of days or indefinitely. If you elect to cache for a number of days and the content is viewed after the cache has expired, it will be re-retrieved and cached again. Sounds great! So no more broken images? What about a post rebuild or for some reason a cache rebuild and it is gone remotely? How do you make sure it is cached forever?
Hexsplosions Posted December 7, 2015 Posted December 7, 2015 4 hours ago, chilihead said: Sounds great! So no more broken images? What about a post rebuild or for some reason a cache rebuild and it is gone remotely? How do you make sure it is cached forever? Honestly, I don't know. It's not a situation I have yet found myself in. There is a problem with locally cached images though. They are subjected to the same rules as uploads. Of course, the end user doesn't know this and so may try to link an image, which the forum then attempts to retrieve and cache, but it fails it on the basis of file-size. It's a pretty significant oversight. I will actually raise it as a bug, now, as I cannot fathom that this is intended behaviour. Bug raised;
sobrenome Posted December 7, 2015 Posted December 7, 2015 20 hours ago, chilihead said: Sounds great! So no more broken images? What about a post rebuild or for some reason a cache rebuild and it is gone remotely? How do you make sure it is cached forever? Yes, broken images are a nightmare for my community that has more than 10 years. It's terrible for users and for SEO. Is there a way to cache forever? I am afraid of loosing this cache after upgrades or cache cleaning by AdminCP.
Nathan Explosion Posted December 7, 2015 Posted December 7, 2015 There is an 'indefinitely' option in the caching settings, so yes you can cache forever (the default is 7 days) Additionally, the cache cleaning (which clears the 'datastore' folder) has no effect on these cached images (which are stored in 'uploads/imageproxy')
OctoDev Posted December 10, 2015 Author Posted December 10, 2015 On 7.12.2015 at 5:26 PM, Nathan Explosion said: There is an 'indefinitely' option in the caching settings, so yes you can cache forever (the default is 7 days) Additionally, the cache cleaning (which clears the 'datastore' folder) has no effect on these cached images (which are stored in 'uploads/imageproxy') That is awesome, no more broken images lmao.............................................
chilihead Posted December 10, 2015 Posted December 10, 2015 This is pretty awesome. Are the proxy images the same or lesser quality? And are they served immediately or only when the source is missing?
OctoDev Posted December 10, 2015 Author Posted December 10, 2015 5 minutes ago, chilihead said: This is pretty awesome. Are the proxy images the same or lesser quality? And are they served immediately or only when the source is missing? They are served immediately once the post has been posted. This is mainly good for websites that uses HTTPS, so in case users post non-https images it gets rewritten/hosted on https lol
chilihead Posted December 10, 2015 Posted December 10, 2015 But works with non-https right? I understand the primary function but is also serves to preserve remote images, which is great.
OctoDev Posted December 10, 2015 Author Posted December 10, 2015 6 minutes ago, chilihead said: But works with non-https right? I understand the primary function but is also serves to preserve remote images, which is great. yes, basically proxies them then caches
RevengeFNF Posted December 10, 2015 Posted December 10, 2015 Im already using them. It would be good if we could should settings for the images, like compressing, limit the resolutions etc etc
OctoDev Posted December 10, 2015 Author Posted December 10, 2015 2 minutes ago, RevengeFNF said: Im already using them. It would be good if we could should settings for the images, like compressing, limit the resolutions etc etc On 20.11.2015 at 8:18 PM, Lindy said: 4.1.4 has basic image proxy caching. Some cool suggestions here. Ability to select a max size to cache, so if it's over.. 200kb, it will cache image. Ability to compress cached images & limit res.
Michael.J Posted December 10, 2015 Posted December 10, 2015 On 7/12/2015 at 3:20 AM, sobrenome said: Is there a way to cache forever? Adjust the setting to "indefinitely" and that will disable the task that clears out the cache every X days. 1 hour ago, chilihead said: This is pretty awesome. Are the proxy images the same or lesser quality? And are they served immediately or only when the source is missing? Just a straight download of the remote image without any reductions or compression. It basically swaps out the remote image url when posting to point to the image proxy page and then load the images through there. On that page it checks if the url is present in the database and loads the cached version, if it's not, it caches it again and loads that image. If the source is missing, it errors out like it would if the remote image itself didn't exist.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.