Hello again,
Today I noticed that medium.com uses same or similar solution for old custom domain blogs. But It has better feature, it only redirect at the first time opened the page. ( Probably, it stores credentials at cookies, and if cookies exist, pass this url query procedure )
But hashnode make it every refresh page.
I am not expert, I only watch network at chrome dev tools.
I have tested on emindeniz99.com hasnode blog ( click blog and about pages ) and hanakamer.com ( refresh(f5) page ) medium blog.
Medium blogs is faster than hashnode at this point. It can be improved.
What do you think about it?
Thanks for the platform.
Emin Deniz Redirects on Hashnode are cheap and fast since it utilizes Cloudflare Workers. It can handle millions of redirects easily. That's the reason we choose to redirect every time without storing that info in cookies. This can be implemented, but then we also need to figure out a logout strategy -- what happens when someone logs out from Hashnode? Should we clear individual cookies from each domain or leave the cookies? This needs some thinking -- but since our redirects use edge caching it doesn't really matter at this time.
Static pages (e.g. /about) on Hashnode don't utilize edge caching currently -- that's why you might have felt that Medium is faster after setting cookies. We are pushing some changes this week which will improve performance of static pages.
If you check your blog home and individual blog posts, you will notice that Medium is never faster than us, even after storing SSO info in a cookie.
You can use this: developers.google.com/speed/pagespeed/insights and lighthouse to measure.
Hope this answers your question. :)