You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are starting to get some bigger clients that are tracking url and clicks in Google anayltics like hawks. And sometimes it's the direct link they see /my-page/ but then if the user clicks around the SPA and take action it could fire with /my-page as the event url....causing split metrics ..
and spank creates the /my-page/index.html so Cloudflare serves that up as /my-page/ as the 200 and /my-page as the 308 redirect.
Suggestion: maybe trailing slashes should have three options then: force, strip, preserve
Describe the feature
We are starting to get some bigger clients that are tracking url and clicks in Google anayltics like hawks. And sometimes it's the direct link they see
/my-page/
but then if the user clicks around the SPA and take action it could fire with/my-page
as the event url....causing split metrics ..and spank creates the
/my-page/index.html
so Cloudflare serves that up as/my-page/
as the200
and/my-page
as the308
redirect.Suggestion: maybe trailing slashes should have three options then: force, strip, preserve
Reference:
https://github.com/roxiness/routify/blob/next/lib/runtime/Router/Router.js#L329
Examples
/my-page/
loads and then url updates to/my-page
, with this option it would stay/my-page/
The text was updated successfully, but these errors were encountered: