Moment JS Removal
CompletedI don't know why all of a sudden it is being loaded when it was not before there is no time related javascript I know of on my site and https://momentjs.com/docs/#/-project-status/
-
Official comment
We took this feedback and this has been removed in a recent version of AC in favor of some native browser tooling (which means it wont work in IE11). We agreed the speed tradeoff highlighted here was not worth the IE11 support since it's not a modern browser and is not utilized very often. Times will simply fallback to server times on IE11 browsers.
Thank you as always for your feedback and support!
Comment actions -
I've noticed this on stores before as well, and I've been curious as to its application as well, for the same reason. As it appears to be loaded separately from the theme files (and thus can't be removed as-is), I would imagine it's doing something important - but if that's not the case, perhaps it could be removed? It would be a couple HTTP requests less at least. If it's for the blog posts (which seems to be the most apt reason), maybe the scripts could be set to only be loaded on blog pages or when blog widgets are apparent on a page?
Please sign in to leave a comment.
Comments
6 comments