Just a quick tip that I've come across recently, add this to your .htaccess file and if your server supports gzip compression HTML, CSS and Javascript will be automatically compressed.
# compress types AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascriptNot sure if the browser uses a cached version on subsequent requests so this technique may not be suitable for everything.
No comments:
Post a Comment