This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add expire headers | |
# BEGIN Expires | |
<ifModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access plus 0 seconds" | |
ExpiresByType text/html "access plus 2592000 seconds" | |
ExpiresByType image/gif "access plus 2592000 seconds" | |
ExpiresByType image/jpeg "access plus 2592000 seconds" | |
ExpiresByType image/png "access plus 2592000 seconds" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ifModule mod_expires.c> | |
# Insert filter on all content | |
###SetOutputFilter DEFLATE | |
# Insert filter on selected content types only | |
AddOutputFilterByType DEFLATE text/plain | |
AddOutputFilterByType DEFLATE application/json | |
AddOutputFilterByType DEFLATE text/json | |
AddOutputFilterByType DEFLATE application/xml | |
AddOutputFilterByType DEFLATE text/xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the font file types | |
AddType application/font-woff .woff | |
AddType application/x-font-ttf .ttf | |
AddType application/vnd.ms-fontobject .eot | |
AddType image/svg+xml .svg | |
AddType application/x-font-opentype .otf | |
# Archaic stuff | |
AddType text/x-component .htc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is the list of apache modules which we were able to disable safely. This list is published just to give you idea, so be careful and consider your specific needs before disabling these. | |
Here is the list | |
proxy | |
proxy_ajp | |
proxy_balancer | |
proxy_connect | |
proxy_ftp | |
proxy_http |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "# Cleaning var/cache..." | |
rm -rf ./public_html/var/cache/* | |
echo "# Cleaning var/log..." | |
rm -rf ./public_html/var/log/* | |
echo "# Cleaning var/report..." | |
rm -rf ./public_html/var/report/* | |
echo "* Cleaning var/sessions..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* MIXINS | |
-------------------------------------------------- */ | |
.kill-gradient() { | |
background-image: none; | |
background-image: none; | |
background-image: none; | |
background-image: none; | |
background-image: none; | |
background-image: none; | |
background-repeat: no-repeat; |