Tiny Tiny RSS: Community

Af_proxy_http plugin have a bug

PLEASE READ THIS BEFORE POSTING: Read before posting / reporting bugs

Describe the problem you’re having:

…af_proxy_http plugin have a bug, if you choose don’t cache files locally option, the files is still cached. Will cached pictures be automatically deleted?

If possible include steps to reproduce the problem:

tt-rss version (including git commit id):

… v19.12-5448a94

Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:

…php 7.2.24 nginx1.16.1 mysql 5.5

Please provide any additional information below:

https://s2.ax1x.com/2019/12/24/lPP85q.png

how did you determine files are being cached [because of af_http_proxy, that is]?

are you sure you don’t have any other cache options enabled, possibly for other users/feeds which might share the same image.

yes, it uses a shared image cache which is automatically cleaned up.

i don’t have any http feeds anymore, i think, so if you’re sure this needs further investigation, post a feed url.

Hi,

I don’t have any other caching options enabled.

Merry Christmas!

By default that plugin does cache locally and that makes sense because if someone views the image repeatedly or if multiple users view the image it’s faster to serve it locally and it saves the burden on the origin server. However, there is an option to disable caching the files, but the default is to cache.