In order to reduce the client's request for server resources, you can open the mod_expires.so module
in apache%C5%E4%D6%C3/" target=" ;_blank"> Apache configuration file to remove this
“#LoadModule expires_module modules/mod_expires.so
” preceding ##<>> Httpd.conf configuration
Code is as follows
ExpiresActive on
#Cache 3 days.
ExpiresBytype text/css "access plus 3 days
ExpiresByType application/x-javascript "access plus 3 days "
ExpiresByType image/jpeg "access plus 3 days "
Expiresbytype image/gif "access plus 3 days "
Add the following
Code below <IfModule mod_expires.c> # mod_expires ExpiresActive on ExpiresDefault A864000 ExpiresBytype Text/css “access plus 14 days ExpiresByType text/javascript <quo;access plus 14 days " ExpiresByType application/x-javascript <;access plus 14 days " ExpiresByType application/x-shockwave-flash “access plus 14 days &rdquo ExpiresByType image/* “access plus 14 days " ExpiresByType text/html “access plus 14 days ” <FilesMatch “.(flv|
Ico|
Pdf|
Avi|
Mov|
Ppt|
Doc|
Mp3|
Wmv|
Wav|
Jpg|
Gif)$”> ExpiresDefault A864000 </FilesMatch> </IfModule>
The default cache time is 10 days and the css cache time is 14 days
Log in to the Alibaba Cloud background, select Manage Console - Manage - Find Run
The author is the webmaster of a website. In order to protect the security of the website, the websi
Managing a server is not an easy task. Today, I will introduce some of the five W
I didnt care much about 301 redirects. First, because there is no website to redi
How to improve RAID 5 data recovery success rate
Based on simplicity - broadband sharing of dual network card servers
IIS log analysis tool EXCEL pivot table
PhpMyAdmin appears export.php Missing parameter: what /export
Install IIS prompts the installer can't copy the file staxmem.dll solution
Actual combat no data x225 server system installation (Figure)
Expert Tips: How to find out where data center vulnerabilities are located
How to check the virtual host's large traffic
3389 Remote Disconnection on Logout
What is the minimum configuration for upgrading win10
Windows 8 taskbar cannot be displayed after being automatically hidden
Windows 7 different themes, font DPI contrast
Windows 2003 system installation aspjpeg component steps share
Win8/win8.1 system some simple optimization methods
Windows 7 enables or disables IE when it is not the default browser
UC browser set Thunder as the default download tool method tutorial