chrisvfritz / prerender-spa-plugin

Prerenders static HTML in a single-page application.
MIT License
7.32k stars 634 forks source link

How to cache the result. #463

Open gui-killer opened 3 years ago

gui-killer commented 3 years ago

Is there a way to cache the result of prerender-spa-plugin if the relevant component of the routes is not changed, should skip the corresponding compilation process to save time. I use history API router to route components in both dev and prod environments, and enabled prerender-spa-plugin for them. It really takes a lot of time to prerender about 10 routes of components.