<p>You could use the <a href="https://craftcms.com/docs/templating/paginate" rel="nofollow noreferrer"><code>{% paginate %}</code></a> tag with ajax to limit the number of entries that are pulled at a time.</p>

CC BY-SA 3.0
2017-01-27T20:05:07.407Z
I was going to head down the `{% paginate %}` route. For anyone following along, [here is the SO thread](http://craftcms.stackexchange.com/questions/2842/infinite-scrolling-with-craft) I am going to use as a guide. Thank you!
Damon
CC BY-SA 3.0
2017-01-27T17:44:33.347Z
2017-01-27T17:44:33.347Z
Marion Newlevant
<p>I have an extended profile that users can purchase. When purchased, an entry is created, and tied back to the user.</p>

<p>The user can then log in and access the entry with the extended profile fields.</p>

<p>I would like to have a page that pulls every extended profile entry. This could be in the hundreds. I know Craft will limit the number it returns by default. I also know that I can pass <code>null</code> into the limit. <code>limit(null)</code></p>

<p>That seems pretty risky and expensive to run. Is there a better solution? I only need the page title of each entry, so I don't need the entire entry model.</p>

<p>Is this a place to use elementAPI and make ajax call(s) to get all of the entries so I'm only returning the page titles?  </p>

<p>Thank you for any suggestions!</p>

<entries><limit>
How can I pull every entry (large number) in a section?
# How can I pull every entry (large number) in a section?

(Asked by: username_0 on 2017-01-27)

I have an extended profile that users can purchase. When purchased, an entry is created, and tied back to the user.

The user can then log in and access the entry with the extended profile fields.

I would like to have a page that pulls every extended profile entry. This could be in the hundreds. I know Craft will limit the number it returns by default. I also know that I can pass `null` into the limit. `limit(null)`

That seems pretty risky and expensive to run. Is there a better solution? I only need the page title of each entry, so I don't need the entire entry model.

Is this a place to use elementAPI and make ajax call(s) to get all of the entries so I'm only returning the page titles?

Thank you for any suggestions!

**Tags:** entries, limit


---

## 1 answers

### Answer by username_1 on 2017-01-27. Score: 2 | Accepted answer

You could use the [`{% paginate %}`](https://craftcms.com/docs/templating/paginate) tag with ajax to limit the number of entries that are pulled at a time.

> **Comments:**
> **username_0**: I was going to head down the `{% paginate %}` route. For anyone following along, [here is the SO thread](http://craftcms.stackexchange.com/questions/2842/infinite-scrolling-with-craft) I am going to use as a guide. Thank you!  

---

