Pre-cache all pages of site or a set of pages?

Is there a way to run the creation of the page cache for a set of pages ? or a list of absolute urls ?

Something like :
$page->render(); but $page->renderCached();

Maybe should I run a CURL request on each of these to force the creation of them ?

Thanks !

Yes, that would be an option.

@bnomei answered to my question on slack also, I’ll put these here if it can help someone :

calling render() should do fine. it either gets the cache or renders it.

but make sure you know when pages (based on it url request) will be cached.

like NOT when url has any params etc