Is it possible to "cache" API data during project export? Aka make a completely static site

First of all - thanks for the great product! I heard about Weweb 2-3 years ago but tried it out just now.
With this vibe-coding nonsense weweb helps to keep the project manageable!

I recently used the export function - it works great!
Is it possible to make a completely “static” site export?

Here’s a use-case: Imagine I’m creating a product directory. I only update product list once in a while.
However, the live website fetches records via API every time a user visits the website. Will it be possible to fetch the API data and somehow “store” it together with the code export bundle? This way when I publish the website, it doesn’t use my database API but rather refers to JSONs that are already sitting on the same server with the exported project?

Hope my question makes sense!

You can use the Static collections as a data source. Static collection pages get pre-rendered on export/publish. If you have less than a certain number of records (it’s limited).

1 Like