Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Apache compression and caching

2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Apache compression

The source code package is mounted and decompressed (see blog LAMP)

Extract the source and component packages to the directory / opt

Put two component packages into the code package

Install the environment package

Configuration

Compile, install (make,make install)

Establish a soft link to the main configuration file

!

Enter the configuration file to open the function module

Filter

Request header

Restart services, turn off firewalls, enhanced features

Install the package grab tool fidder on the client side and test

Add a picture test

Apache caching

Like the compression module, add a cache module-enable-expires, compile, install.

Establish a soft link to the configuration file and configure the

Enable the function and set the cache time for 50s

Enable services, turn off firewalls, and enhance features

Check the grab bag.

Change the profile cache time to 40s to restart the service, check

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report