


What is the mechanism for non-duplication of click-to-refresh data like Toutiao and other communities?
Oct 23, 2016 am 12:12 AM
1. In Toutiao, the refreshed data is different every time you pull down. Normally, the news will be stored in a table, and the oldest data will be placed in front, and the top data will not change again if it is refreshed.
The same is true for her community. (I will not discuss the recommendation algorithm of Toutiao)
Reply content:
1. In Toutiao, the refreshed data is different every time you pull down. Normally, the news will be stored in a table, and the oldest data will be placed in front, and the top data will not change even if it is refreshed.
The same is true for her community. (I will not discuss the recommendation algorithm of Toutiao)
Personally, I think it should be the paging principle used. The first pull-down refresh corresponds to the first page, the second time to the second page, and then the backend queries the database based on this number of times

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How To Set Up Visual Studio Code (VS Code) for PHP Development

How do you parse and process HTML/XML in PHP?

Break or return from Java 8 stream forEach?

PHP Program to Count Vowels in a String

Java Made Simple: A Beginner's Guide to Programming Power

Create the Future: Java Programming for Absolute Beginners

Java Program to Find the Volume of Capsule
