[Bug]: Middleware returns cached response when using getStaticPaths
and/or revalidate
#1114
Closed
1 of 2 tasks
Labels
type: bug
code to address defects in shipped code
Summary
The content served by a middleware, gets routed through a function. Immediately after a build, it returns correct response. However, after some time, the function starts returning cached content.
This was reported by a Pro user: https://netlify.zendesk.com/agent/tickets/77373 (Internal only).
All the files included in this issue are provided by them.
Steps to reproduce
Please refer to the ticket for the URLs to test as it might contain sensitive info (considering it's protected behind an auth).
A link to a reproduction repository
No response
Plugin version
4.1.0
More information about your build
netlify.toml
)What OS are you using?
No response
Your netlify.toml file
netlify.toml
Your public/_redirects file
_redirects
N/A
Your
next.config.js
filenext.config.js
Builds logs (or link to your logs)
Build logs
N/A
Function logs
Function logs
N/A
.next JSON files
required-server-files.json
routes-manifest.json
prerender-manifest.json
The text was updated successfully, but these errors were encountered: