Website access optimization (2): Enable gzip compression and apachegzip on the apache serverYesterday, the bandwidth was upgraded from 1 Mbps to 2 Mbps. After using the cdn jquery version, the Website access speed was increased from 5 s on average
yesterday, the bandwidth was upgraded from 1M to 2M, and after using the CDN version of jquery, the website was accessed by an average of 5s (in the case of disallowed caching, using the cache around 2.8s) down to 2.8s. today, continue to optimize. 1
Website access optimization (2): Enable gzip compression on the apache serverYesterday, the bandwidth was upgraded from 1 Mbps to 2 Mbps. After using the cdn jquery version, the Website access speed was increased from 5 s on average (the Cache Usage
A similar problem has occurred, Mark, later modifiedrecently using ASI found that some network callback data can not be normal JSON parsing, the Responseheaders header print out, only to find the company server part of the data added gzip
Document: HTTP://HTTPD.APACHE.ORG/DOCS/2.4/directive: http://httpd.apache.org/docs/2.4/mod/core.htmlOne, configuration fileGrammar* Master config file httpd.conf, change only restart service will take effect* One line in the configuration command,
1.# Deny access to the entirety of your server ' s filesystem. You must# explicitly permit access to Web content directories in other# blocks below.#拒绝所有对你服务器文件系统的访问. You must explicitly license access to the Web content directory in the other
Apache2 httpd.conf Chinese version
#
# A configuration file based on the NCSA service.
#
#这是Apache服务器主要配置文件.
#它包含服务器的影响服务器运行的配置指令.
#参见 #
#不要只是简单的阅读这些指令信息而不去理解它.
#这里只是做了简单的说明, if you don't have a reference online file, you'll be
For the novice and me to see.
#
# A configuration file based on the NCSA service.
#
#这是Apache服务器主要配置文件.
#它包含服务器的影响服务器运行的配置指令.
#参见 #
#不要只是简单的阅读这些指令信息而不去理解它.
#这里只是做了简单的说明, if you don't have a reference online file, you'll be
Use of ASIHTTPRequest data compression and cookies for iOS development
Data Compression
Use gzip to process compressed response data
From version 0.9, ASIHTTPRequest will prompt the server that can receive gzip compressed data. Many web servers can
Data compression
Use gzip to process compressed response data
Starting with version 0.9, ASIHTTPRequest prompts the server that it can receive gzip-compressed data. Many Web servers can compress the data before it is sent-which speeds up download
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.