Optimizing headers and ALT attributes