evidence icon indicating copy to clipboard operation
evidence copied to clipboard

Redundant queries executed when building parameterized pages

Open mcrascal opened this issue 3 years ago • 1 comments

Bug Description When running npm build on a project that includes a parameterized page, queries run from the against the db for each instance of the parameterized page, causing long build-times and wasted db resources for some projects.

Expected Behavior Run the query once, and serve the remaining queries from the cache for each page that's being rendered.

mcrascal avatar May 17 '22 09:05 mcrascal

Just ran across this again today. Was going to open an issue for it!

archiewood avatar Aug 24 '22 18:08 archiewood