I have set publicPath in webpack for using cdn to host my js assets. So I setup a two step building procedure, first build and upload assets to cdn server, then rebuild and use prerender plugin to render html files.
But I found each prerendering pages not using cache, so render 100 pages may cost my 100x5=500MB bandwidth. (quite expensive)
I'm wondering if puppetter could setup use of cache for bandwith saving.
When using laptop with bad network, prerender could even fail due to slow loading of assets from cdn server.
I have set
publicPath
in webpack for using cdn to host my js assets. So I setup a two step building procedure, first build and upload assets to cdn server, then rebuild and use prerender plugin to render html files. But I found each prerendering pages not using cache, so render 100 pages may cost my 100x5=500MB bandwidth. (quite expensive) I'm wondering if puppetter could setup use of cache for bandwith saving.When using laptop with bad network, prerender could even fail due to slow loading of assets from cdn server.