From https://managewp.com/enhanced-performance-code-snippets?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+managewp+%28ManageWP+Blog%29