/fpm/init.d.php-fpm/etc/init.d/ php-fpmchmodu+x/etc/init.d/php-fpmchkconfig--addphp-fpmchkconfigphp-fpm ongroupaddwwwuseradd-s/sbin/nologin-gwww-mwwwmv/usr/local/php/ etc/php-fpm.conf.default/usr/local/php/etc/php-fpm.confln-s/usr/local/php/etc/php.ini/ etc/php.iniln-s/usr/local/php/etc/php-fpm.conf/etc/php-fpm.conf/usr/local/php/sbin/ Php-fpmiptables-iinput-s172.16.10.0/24-ptcp--dport9000-j acceptzlib==== "provides a function library for data compression pcre====" REwrite Support Library openss
Label: HTTP Io Ar data SP on CTI code html Add the following code to the head of the HTML page: When Ajax sends a request, the URL keeps up with a timestamp. Function converturl (URL) {// This method returns millisecond-level data, which can be said to be the only if (URL) {var timestamp = (new date ()). valueof (); var temparray = URL. split ("? "); Var temparraylength = temparray. length; If (temparraylength = 2) {// append the timestamp to the URL url = URL + " timestamp =" + timestamp
For a frequently-checked result set, a small number of records are returned, the server side is cacheable, the result set is saved in the shared pool, and the value of the bound variable is the same if it is a bound variable.Sql> Show Parameter Result_cacheNAME TYPE VALUE------------------------------------ ----------- ------------------------------Client_result_cache_lag Big Integer 3000Client_result_cache_size Big Integer 0Result_cache_max_result In
1, memcached High-performance distributed memory object cache System 2, the purpose: to reduce the database load, improve the response speed of the dynamic database-driven Web site 3, data format: Text line 4, protocol: Memcache protocol 5, storage mode: HASHMAP6, Cons: After restarting the memcache server, the stored data disappears. There is a lack of data persistence 7, memory allocation mechanism: The o
For efficient cache class, access 1W pages per second, each page is not the same, may be millions,, want to try the cache processing, the server can't carry Ah, find a cache class, seemingly did not solve the load problem.
Cache_life) {unlink ($file); }}}//callback function Auto_cache Ob_start (' Auto_cac
Use Nginx as the Web cache, located between the content source Web server and the client.
Solution for Web caching:
1 Squid Cache
2 Nginx Proxy_cache.
Let's see, Nginx's Proxy_cache.
Composition: Proxy_cache related instruction set, fastcgi related instruction set
Proxy_cache which buffer will be used
Proxy_cache_path
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecom broadband users, mobile broadband usersProblems: Telecom users open www.abc.com Normal, mobile users open www.abc.com very slow, even can't openSolution: Put a CDN proxy server in the mobile room, through the intelligent DNS resolution, let the telecom users directly access the Web
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecommunications broadband users, mobile broadband usersProblems: Telecommunications users open www.abc.com Normal, mobile users open www.abc.com very slow, or even openSolution: Place a CDN proxy server in the mobile computer room, through the intelligent DNS resolution, let the telecommunication user direc
SQL Server system memory management in the absence of configured memory maximums, many times we find that the system memory running SQL Server is often high. This is because his strategy for memory usage is how much idle memory to occupy, until memory usage takes into account the system peak (reserved memory based on the system default reserved use, at least 4M), will clear some
On the network, there are some cache servers, and the browser itself has caching capabilities.For example:The 1th time you visit this page, the normal download picture, the return value is 200:Packet capture analysis of the response head:Based on a premise-the image will not be changed frequently, the server returns 200 at the same time, also return the image's eigenvalues (signature ETag), when the browser
SQL Server servers run for a while to find that memory is growing exponentially to 98%. Workaround: Restart the host computer to restart the SQL Server service setting maximum memory the first two methods are less suitable for the online environment and the indicator does not recommend setting the maximum memory if there are SQL Server servers constantly eating m
calls, or page reference results, such as strings, objects, and so on.Its working flow chart is:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5C/1D/wKioL1Ua4PSzswJMAAEWf3sN1Q8663.jpg "title=" Memc.png "alt=" Wkiol1ua4pszswjmaaewf3sn1q8663.jpg "/>Characteristics of memcachedMemcached, as a distributed memory cache server running at high speed, has the following characteristics.Simple protocolLi
1) Image Service Cache
Just like creating a cache for the map service, you can now create a server cache for the image service. The two use the same tool to create a cache.
2) create cache for custom regions of interest
W
The BIEE itself provides several ways to manage the cache, either by setting the cache's expiration time at the physical level or by invoking the Sapurgeallcache () process.The first two methods are passive management policies (the event table is timed polling, the expiration time is specified as valid duration), is inefficient, and the individual is more active in the cache management policy. This is to pr
To improve browsing performance, ArcGIS Server is usually used for map caching (commonly referred to as "tile technology "). For example, mapabc and GoogleMap currently use this technology.The so-called map cache technology refers to cutting a map into images of certain specifications and saving it to a computer hard disk according to certain mathematical rules. When a user accesses the map service through
Article Title: reverse proxy-based Web Cache accelerates modern server management. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Implementation of reverse proxy cache Acceleration Based on Apache mod_proxy
Apache contains
Proxy_busy_buffers_size 128k; #增加系统繁忙时可申请的proxy_buffers大小Proxy_temp_file_write_size 128k; #增加proxy缓存临时文件的大小Proxy_next_upstream Error timeout Invalid_header http_500 http_503 http_404; #增加故障转移, if the back-end server returns 502, 504, execution timeout, and so on, automatically forwards the request to another server in the upstream load balancing pool to implement failover. Proxy_cache Cache_one; #增加使用web缓存区
By using ArcGIS Server for map Publishing, the current more popular map caching techniques (popular as "tile technology") are usually used to enhance browsing performance. such as the current MAPABC and GoogleMap is precisely the use of this technology.
The so-called map caching technology, is according to a certain mathematical rules, the map into a certain size of the picture saved to the computer hard disk, when the user through the client browser
There are many things worth learning about IIS server. Here we mainly introduce the knowledge about memory adjustment for IIS server Cache. IIS Server 5.0 saves static webpage data to the Cache. IIS Server 4.0 saves static webpage
To automatically list directory configurations:
Download the open source software are aware that a very simple page lists all the versions of the source code, which is to open the automatic listing directory
The following configuration, in the virtual host location/{...} Configure automatic listing of directories in directory control:
Location/{
autoindex on;
}
Browser Local Cache settings:
The browser is to speed up browsing, the b
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.