Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Serve unstyled, static content to versions of Internet Explorer 10 and lower #10

Closed
schalkneethling opened this issue May 10, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@schalkneethling
Copy link

There are a couple of reasons for this:

  1. Our user base for these versions of Internet Explorer in incredibly low but, we still want them to be able to access the main content of the site. If we serve CSS and JS that does not work and throw tons of errors, it creates a negative user experience. We want to be sure that we do not add a maintenance headache here so, this should fallback to pretty much plain HTML with some widgets hidden with CSS.

screen shot 2018-05-10 at 11 40 37

  1. We can adopt modern JavaScript, and use Babeljs to compile our JS down to a baseline. When we cut out everything less than IE11, our baseline generally has better support for modern JS. This means less down compilation. The result being a much smaller kb size for the resulting JS files.

  2. Lower cost for users of low end hardware and old tech without blocking them from content.

Proposal

Serve only HTML with one simple CSS file that hides elements on the page that requires JavaScript to function.

@schalkneethling schalkneethling added the enhancement New feature or request label May 10, 2018
@schalkneethling
Copy link
Author

We can also get rid of the html5shiv. It is a tiny script but, one less dependency.

@schalkneethling
Copy link
Author

This will also allow us could get rid of selectivizr, yet another dependency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant