Freshrss: Update/Refresh behaviour

Created on 5 Mar 2019  路  8Comments  路  Source: FreshRSS/FreshRSS

Im wondering how exactly does refreshing feeds behave?
It feels like refreshing doesn't really do something most of the time.
It just immediately hits you with "No feeds to refresh", until at somepoint it does not and updates every feed with many articles.
But this seems related to the "Do not automatically refresh more often than", which might be better named "Do not refresh more often than" then, since it doesn't seem to matter if automatic or not.

I think that one of the following options should be more clear to the user:

  • Either rename the setting (Name seems consistently misleading at least in english and german) and make the possible values more based on reality. A few cheap requests like this don't hurt if you fire them up every 1-5 Minutes, and 20 minutes minimum seems overly defensive to me.
  • Make sure this only affects automatic refreshs, not the one issued by the user via the interface.

If you can rely on the "Do not automatically refresh more often than" setting, it would be easily possible to run the cron script every minute, and check if the time is reached. This would need updated install instructions, where the cron script is run 'hourly', which seems like an eternity for me.

FreshRSS-Version: 1.13.1
PHP-Version: 7.2.14

Most helpful comment

If they want to risk bans, warn them, but let them.

@Joniator No, sorry. We are part of an ecosystem. A typical reaction that we have seen from several servers is to simply ban by user-agent (that is why we had to remove "SimplePie" from our user-agent string, because it was too frequently banned), or to remove their RSS feed altogether. Bad user behaviours affect the larger community.

If you need (near-)realtime updates, use the WebSub push mechanism, which is exactly meant for that, and is very easy to deploy server-side. FreshRSS has built-in client support for it.

All 8 comments

If you can rely on the "Do not automatically refresh more often than" setting, it would be easily possible to run the cron script every minute, and check if the time is reached.

That's how it works, yes.

This would need updated install instructions, where the cron script is run 'hourly', which seems like an eternity for me.

That's an example, not an instruction. I use 15 minutes in cron, combined with a 30 minute default in FreshRSS, as well as a few custom per-feed settings. That's mainly higher, .e.g, I've got a comic set to once a week so it shows up in the weekend. (I would support a PR to change the example to 15 minutes.)

Many feeds have WebSub, btw.

Yes indeed, we should update the examples and terminology.
The examples we give for the Docker deployment are faster:
https://github.com/FreshRSS/FreshRSS/tree/master/Docker#cron-job-to-automatically-refresh-feeds

That's how it works, yes.

Okay, at I'm not doing anything wrong then.
But the point still stands, for me at least 20 Minutes until update seems limiting for no real reason.
I like to see updates as soon as possible, and maybe someone watches a gitlab teamstream and wants to see events rather soon than later, in which case 20 Minutes feel like an eternity

Another point still stands: It doesn't update if you press the update button if the time isn't reached.
This is great behaviour for your comic strip, but seems counter-intuitive for news, especially since you are still bound to the 20 Minute delay in the best worst case.

So for my main feature request:

  • Give more options for the time (1min, 5min, 10min)

I'm looking into it, and as far as I can tell it should almost be enough to just change the view and add the second/text mapping, or am I missing something?

Changing the example/bringing it on par with the docker one would be a nice change too, since less technical users might want to go just copy&paste everything and then wondering why it does auto updates so infrequently.

Give more options for the time (1min, 5min, 10min)

Oh, now I understand! I didn't get that from the OP. I thought you were basically just slightly dissatisfied about the defaults and/or the examples. Curiously, the per-feed config does allow for 15 mins.

It's just a matter of what the UI shows. If you right-click inspect element and change the value from 1200 to, say, 200 and save, that'll be the default until you change it. Note that if you refresh too often (more often than every 10-15 minutes) then some servers might ban you. Too easily exposing <5 minutes might not be a good idea.

Right-clicking is always a dirty hack, and IMO an application shouldn't push too much opinion on its users. If they want to risk bans, warn them, but let them.

If they want to risk bans, warn them, but let them.

@Joniator No, sorry. We are part of an ecosystem. A typical reaction that we have seen from several servers is to simply ban by user-agent (that is why we had to remove "SimplePie" from our user-agent string, because it was too frequently banned), or to remove their RSS feed altogether. Bad user behaviours affect the larger community.

If you need (near-)realtime updates, use the WebSub push mechanism, which is exactly meant for that, and is very easy to deploy server-side. FreshRSS has built-in client support for it.

Alright, I'm rather new using rss and wasn't aware that the perfomance implications would be that big of a deal, but I'll refrain from setting the numbers down then.

Regarding WebSub: Is it assumed that a rss feed supports it by linking a hub in the metadata?
I haven't seen it mentioned in any of the feeds I subscribe to, and resources on it are rather simple, especially in the context of rss.

Edit:
Nevermind, I just saw that some few feeds have this setting enabled, while others dont, so I guess that it is hit or miss, but if the feed supports it the metadata is in the feed.

"Do not automatically refresh more often than", which might be better named "Do not refresh more often than"

+1. It confuses me too. Also I think, that this setting should be replaced to other menu category. For example "General" or "Misc". Because it has no relation to "Archiving/Purge", but presupposes fewer requests to news sites.

No, sorry. We are part of an ecosystem.

It is reasonable remark, but I also ran into a problem, when I need to have updates for forum topic practically in real time. Whatever it sounds like, but I miss the feature of lower time values too.

Was this page helpful?
0 / 5 - 0 ratings