Minify and restructure static