codeburrow / company-web-app

The code for the official CodeBurrow app
http://www.codeburrow.com
MIT License
1 stars 0 forks source link

CodeBurrow

The official web page for CodeBurrow.com

Deployment

Required Steps

Increase speed load according to Google page speed insights #19

Enable Compression

Location: /etc/nginx/nginx.conf Inside http block:

    gzip on;
    gzip_disable "msie6";
    gzip_comp_level  2;
    gzip_min_length  1000;
    gzip_proxied     expired no-cache no-store private auth;
    gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

Leverage browser caching

Inside your server block (E.g. /etc/nginx/sites-available/codeburrow.rdok.io )

    location ~* .(jpg|jpeg|png|gif|ico|css|js|woff)$ {
        expires 365d;
    }

Optimization

[How To Configure Apache Content Caching on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-configure-apache-content-caching-on-ubuntu-14-04]