ganesh-sfdc/forceworkbench/master/workbench/.htaccess - Htaccess File

ganesh-sfdc/forceworkbench/master/workbench/.htaccess

# The following settings are optional, additional configurations for an Apache Web Server.
# This file may be deleted if Workbench is hosted in an environment that does not allow .htaccess overrides.

<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/css text/html application/x-javascript application/javascript application/csv
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4.0[678] no-gzip
    BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</IfModule>

<IfModule mod_gzip.c>
    mod_gzip_on yes
    mod_gzip_dechunk yes
    mod_gzip_keep_workfiles No
    mod_gzip_can_negotiate yes
    mod_gzip_update_static No
    mod_gzip_temp_dir /tmp
    mod_gzip_minimum_file_size 512
    mod_gzip_maximum_file_size 1000000
    mod_gzip_maximum_inmem_size 1000000
    mod_gzip_handle_methods GET POST
    mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4..*["
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader Content-Type:image/*
    mod_gzip_item_include file .js$
    mod_gzip_item_include mime ^application/x-javascript$
    mod_gzip_item_include file .php$
    mod_gzip_item_include mime ^text/html$
    mod_gzip_item_include file .css$
    mod_gzip_item_include mime ^text/css$
    mod_gzip_item_include file .csv$
    mod_gzip_item_include mime ^application/csv$
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, GET, no-gzip, POST, static

Comments

Apache