The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it populated from the browser user agent. After this implementation they have run into these problems:
* Sometimes desktop pages are being served to both desktop and mobile customers.
* Sometimes mobile pages ate being served to both desktop and mobile customers.
The page has caching implementedthat depends; on promotions. SEC is very important and the site traffic is high.
Which solution should the Architect select to resolve the issue without impacting the existing requirements?
To resolve the issue of incorrect page versions being served across different devices, changing the URL structure to include device-specific parameters can be highly effective. By adding parameters such as 'desktop' or 'mobile' to the URLs:
The caching mechanism can differentiate between the content for different device types, thus caching and serving the correct version of the page according to the device type specified in the URL.
This method allows for maintaining existing caching strategies linked to promotions and ensures that SEO is not adversely affected since the content remains the same per device type but is merely served through different URLs.
This approach addresses the core issue without requiring disabling of caching or reengineering existing promotional structures, hence preserving site performance and user experience.
Novella
3 months agoEden
3 months agoElsa
3 months agoMelissia
4 months agoCrista
4 months agoKayleigh
4 months agoElden
4 months agoMerri
4 months agoSteffanie
5 months agoRaylene
5 months agoRefugia
5 months agoThurman
5 months agoTijuana
5 months agoSantos
5 months agoFelicidad
1 year agoTegan
1 year agoHoward
1 year agoLaquanda
1 year agoKaitlyn
1 year agoTomas
1 year agoGlen
1 year agoGearldine
1 year agoVan
1 year agoDenny
1 year agoTimothy
1 year agoBroderick
1 year ago