# Understanding static page pre-rendering with dynamic data

**URL:** <https://community.weweb.io/t/understanding-static-page-pre-rendering-with-dynamic-data/10188>\
**Category:** Ask us anything\
**Created:** [August 10, 2024, 10:33am UTC](https://community.weweb.io/t/understanding-static-page-pre-rendering-with-dynamic-data/10188 "2024-08-10T10:33:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davhad](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/davhad/32/9664_2.png) [@davhad](https://community.weweb.io/u/davhad)\
**Post date:** [August 10, 2024, 10:33am UTC](https://community.weweb.io/t/understanding-static-page-pre-rendering-with-dynamic-data/10188/1 "2024-08-10T10:33:41Z")

</div>

This is probably a basic question for those with vue experience.

A static page has access to the collection item’s data and I guess that data is inputted into the static page when publishing and won’t need to be queried from the db when live.

If that static page also queries dynamic data. For example a related record from another collection (not the collection associated with the page), then is that being pre-pulled and published statically for each collection page during publishing? I see a surge in db requests at each publish.

Or is the page published statically with dynamic subcomponents placeholders that will render on a user’s page load?

I’m also hoping to understand how dynamic content in static pages affects publishing performance.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [August 10, 2024, 11:13am UTC](https://community.weweb.io/t/understanding-static-page-pre-rendering-with-dynamic-data/10188/2 "2024-08-10T11:13:01Z")

</div>

Honestly, no-one can answer this, other than the WeWeb team itself.

> [@davhad](#):
>
> Or is the page published statically with dynamic subcomponents placeholders that will render on a user’s page load?

I think this would be the case.

> [@davhad](#):
>
> I’m also hoping to understand how dynamic content in static pages affects publishing performance.

I think it shouldn’t affect it.
