Refer to http://stackoverflow.com/questions/896974/ Apache-is-not-sending-304-response-if-mod-deflate-and-addoutputfilterbytype-ishttp://scarff.id.au/blog/2009/apache-304-and-mod_deflate-revisited/Fix Solution:#add following to .htaccess or
What is the 304 state
The server should return this 304 status code if the client sends a conditional GET request and the request has been allowed, and the contents of the document (since the last visit or according to the requested condition) have
Explain:The "from cache" is the browser does not confirm with the server, directly using the browser cache;304 Not Modified is a cache that the browser and server have confirmed more than once for cache validity.Trigger difference:The "from cache"
http://blog.csdn.net/apple_llb/article/details/50253889The configuration of Apache is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf File. Configuration of the primary site (basic
Configuration of the primary site (basic configuration)
(1) Basic Configuration:
Serverroot "/mnt/software/apache2" # location of your Apache software installation. If no absolute path is specified for other specified directories, the directory is
1) What is "last-modified"?When the browser requests a URL for the first time, the server-side return status is 200, the content is the resource you requested, and there is a last-modified attribute that marks the last time the file was modified at
Configuration of the primary site (basic configuration)(1) Basic Configuration:ServerRoot "/mnt/software/apache2" # location of your apache software installation. If no absolute path is specified for other specified directories, the directory is
Apache Configuration
The Apache configuration is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf file.Configuration of the primary site (basic configuration)
(1) Basic configuration:
Apache configuration file http.conf parameter meaning detailedThe configuration of Apache is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf file.Configuration of the primary site (basic
The configuration of Apache is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf file.Configuration of the primary site (basic configuration)(1) Basic configuration:ServerRoot
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.