Load article fixed length

  node.js, question

How does the article list page load a fixed length of articles? Use beyond part “. . 。” Replace.
Know that you can use css to do it. But is this to load all the articles? Or is it loaded by character length?

If the subject needs to achieve the effect of media.antgroup.com, it is better to intercept the string in the background, which can reduce the size of data transmission.