I suggest you ...

Dynamic bundles based on browser/client capabilities

More and more it's becoming a common practice to detect browser features and capabilities. There are even libraries and or tests used by many sites. Libraries such as Modernizr come with a slew of such tests.

It would be nice to issue the client a token/url for the scripts and css specific to that browser after doing feature detection.

This prevents ever subsequent page running the same test and doing the same conditional loading of scripts. Otherwise, another ugly alternative is to have a bunch of bundles for common browsers, but this seems more like doing browser sniffing rather than feature detection.

Would love to hear if this is something that could be in the product instead of having to hand roll using Web Optimization intrinsics.

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Eddy RecioEddy Recio shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base