Next.js Discord

Discord Forum

_rsc triggers middleware

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
_rsc query triggers the middleware so many time and unneeded requests happens!

Current matcher

export const config = {
    matcher: [
        "/",
        "/login",
        "/dashboard/:path*",
    ],
};

2 Replies

Polar bearOP
this is due to just one request from the frontend