this post was submitted on 30 Jun 2023
3 points (100.0% liked)

Lemmy App Development

728 readers
1 users here now

A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.

On-Topic:

Off-Topic:

founded 2 years ago
MODERATORS
 

The Limit property is just a number, but it is different for different API endpoints. I'd like to have a list of the different values so i can easily stay within the max for each endpoint. Are the values documented somewhere? From the official js-client docs site, not even a given endpoint documents its maximum.

you are viewing a single comment's thread
view the rest of the comments
[–] Cr4yfish 1 points 2 years ago* (last edited 2 years ago)

I don't think they're documented anywhere. I resorted to just trying out the performance limits.

  • For posts I recommend going with 10 per page and loading the rest on demand.
  • For Comments try to only load a couple per request and then do a bunch of chained requests