We've had an issue in production where page requests were returning stale data. Upon inspecting the logs, we noticed this error getting logged when loading the page:
Failed to update prerender cache for /PAGE TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
We believe this error was causing our problem, however I would like to be able to reproduce this scenario locally. Does anyone know how I can trigger this error? The page in question has no server side or static props.
Many thanks in advance!
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745353416a4623975.html
评论列表(0条)