For large amounts of content this will be a serious problem, the advisable and make pagination of your posts, that is, instead of loading the existing "200 posts" in your database and letting all this information be controlled by javascript to show 3 in 3, it would be more advisable to carry out a specific query that uses skips, in case to perform a more optimized query in order to take only the necessary data, an example of this would be:
SELECT FIRST 20 SKIP x * FROM TableName
In this case Voce selects only the first 20 records and works with them, the request to the server is lower the first time and with this Voce ensures that only what the user wants to access will be downloaded.
Answering to your doubts:
When the user loads the page, this load will be done with the total of posts in the database, or the total of javascript?
As Voce does not limit the amount of posts in your select it will receive the total database, javascript will only show it little by little.
If I start displaying only 3 posts with javascript, and not limiting SELECT with php, even if there are 100 records, it will influence SEO?
This is a great question :)
Imagine the following situation, Voce enters the The New York Times, his favorite newspaper, to see only the latest news, why Voce accompanies every day. Imagine if they used the method that Voce described, in the case of the new york times, they have at least 34,000 publications, the load of this information at once would either crash your browser or if you were using data would wipe out your rsrs package.
but the focus is not that, I can’t tell you with certainty but the more a page and slow less users are adept to use them.
Recommended references to implement a page:
Asynchronous paging with jQuery, Ajax and Mysql
Automatic paging with PHP and jQuery
Pagination with jQuery and PHP - Youtube
jQuery/Javascript simple paging - Stackoverflow
I think the link posting fails, edit the question with the link.
– user28595
Thanks for the warning. I updated!
– Cobra