Tag Archives: gzip

Как увеличить скорость загрузки сайта, применив Gzip сжатие страниц.

edit .htaccess

# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# Or, compress certain file types by extension:
(more…)

Резервне відновлення з копії

Freebsd dd restore
#echo -e "open host \n \n user <user>,<pass>
\n cd backup/ \n get dd.iso.gz \"|gzip -cd |dd of=/dev/ad0s1"| ftp

Alternative Freebsd dd restore
#echo "get dd2.iso.gz \"|gzip -cd | dd of=/dev/ad0s3\"" | ftp -i ftp://<user>:<pass>@193.111.8.206/backup/
(more…)