RealPage Interview Question

how will you improve the performance of a web application?

Interview Answer

Anonymous

May 25, 2018

Minimize HTTP requests. Use a content delivery network. Add an Expires or a Cache-Control header. Gzip components. Put stylesheets at the top. Put scripts at the bottom. Avoid CSS expressions. Make JavaScript and CSS external. Reduce DNS lookups. Minify JavaScript and CSS. Avoid redirects. Remove duplicate scripts. Configure ETags. Make Ajax cacheable. Use GET for Ajax requests. Reduce the number of DOM elements. Eliminate 404s. Reduce cookie size. Use cookie-free domains for components. Avoid filters. Do not scale images in HTML. Make favicon.ico small and cacheable.