I think it would be nice for security and performance reasons, if a server could tell the browser, in it's response:
Look browser: I'm a simple website, all I need is html and css, so please disable javascript when you show my page. Or at least disable this APIs which I don't need.
Then the browser could render that page much faster and safer because it knows it won't have to do a bunch of things. I know that certain doctypes trigger certain rendering modes, and that some metatags change browser behavior. Is there any mechanism intended for this purpose?
Aucun commentaire:
Enregistrer un commentaire