Client detection

Nov 15, 2014 at 10:15 AM
Any plans for client detection for different layout.

For example if max screen width < 1000
change page layout and don't generate some widgets on page.
Coordinator
Nov 15, 2014 at 10:38 AM
Hi,

In short, no, as to deal with this in our projects we've just gone down the responsive route with Bootstrap, and shown/hidden things in CSS rather than on the server. This has generally been a simpler and more effective way of dealing with the problem, and also takes into consideration resizing of the viewport by the client.

If you're concerned about the performance of widgets on a page, we've recently(ish) built output caching into them, enabled by using an [OutputCacheable]
attribute on the widget, then configuring it on the layout or page

Thanks,
Gary