Author

Topic: Fetching posts without reloading page! (Read 1220 times)

legendary
Activity: 1876
Merit: 1475
April 22, 2015, 07:01:23 PM
#10
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.

Actually this can be automatic and save bandwidth (not only not waste it) if done properly:

Something like infinite scroll can be implemented via jQuery and that could be triggered only when the tab is on focus and a scroll happens. Another option is to query regularly (every 30 seconds or so) for new posts only when the page is on focus (even if no scroll happens) but only a boolean would be returned indicating whether or not new posts are available on that specific thread (cache could be used server-side if several users are on the same thread). If there are new posts then a message would appear and the user would need to click on it to have them loaded. Gmail does this for new emails on the current conversation.

Only a few bytes would be queried only when the site is on focus. This would prevent a lot of users to hit F5 just in case, wasting a lot of bandwidth and -even worst- DB queries and other resources.
legendary
Activity: 858
Merit: 1000
April 22, 2015, 06:50:08 PM
#9
Would be nice for support / help threads or others where you needed to pay attention +1, good feature
legendary
Activity: 975
Merit: 1003
April 15, 2015, 06:02:44 PM
#8
Could be easily implemented with Ajax and jQuery. I think that it is a nice feature to have
legendary
Activity: 1302
Merit: 1007
April 10, 2015, 01:15:13 PM
#7
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.

Yes, it is done manually. I don't like automation in this feature.

=snip=
A refresh button or similar, so new posts will be fetched and can be seen without reloading.
=snip=
Ah, in that case I don't see a problem, since it really isn't too different from what we already do. In fact, it'd be even better since only part of the page would be refreshed, saving some bandwidth. It also shouldn't be hard to do. You have my support.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
April 10, 2015, 12:42:15 PM
#6
I think it can be easy coded , like a script to refresh posts every X seconds and if return true , get the new posts
just need a little work , and will be a good option , also some users may not like it , someone can have limited
bandwidth or something like this  Cheesy .

Kind Of Respect ,
Bitcoin Boy.

No "automation".

Yes, it is done manually. I don't like automation in this feature.

=snip=
A refresh button or similar, so new posts will be fetched and can be seen without reloading.
=snip=
hero member
Activity: 854
Merit: 503
|| Web developer ||
April 10, 2015, 10:23:48 AM
#5
I think it can be easy coded , like a script to refresh posts every X seconds and if return true , get the new posts
just need a little work , and will be a good option , also some users may not like it , someone can have limited
bandwidth or something like this  Cheesy .

Kind Of Respect ,
Bitcoin Boy.
hero member
Activity: 910
Merit: 1000
April 08, 2015, 03:21:31 AM
#4
Yeah, I too think the idea is a good one. I've never thought about it or been in need of it, but if the option were there I would probably use it.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
April 08, 2015, 02:43:21 AM
#3
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.

Yes, it is done manually. I don't like automation in this feature.

=snip=
A refresh button or similar, so new posts will be fetched and can be seen without reloading.
=snip=
legendary
Activity: 1302
Merit: 1007
April 08, 2015, 02:20:44 AM
#2
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
April 06, 2015, 10:31:58 PM
#1
Hello,

Will there be an option to fetch posts without reloading the page? A refresh button or similar, so new posts will be fetched and can be seen without reloading. If not, adding this will be good IMHO. Thank you!
Jump to: