3 ms·
People say SSR like it's a new concept, but this was how it worked for a long time. Guess based on user agent (or other fingerprinting metric of choice), redir
by RadiozRadioz 3y ago
People say SSR like it's a new concept, but this was how it worked for a long time.
Guess based on user agent (or other fingerprinting metric of choice), redirect to guessed site, provide user the option to override when the page appears, remember the choice in cookie (or local storage).
Though personally I think you can do a lot with responsive CSS if you try hard enough - that is my preferred option.
- progval 3y ago> redirect to guessed site I always wondered about that. What's the point of redirecting instead of serving a different template on the same URL?
- RadiozRadioz 3y agoThat works, you'd just have to put the setting in a cookie rather than local storage.
- progval 3y agoWhy? If you can detect mobile user-agents on the first page load, can't you do it in the next page loads too?