Tag: cache

How to install Composer on Debian / Ubuntu Linux

When you try to update mediawiki to v1.26.0 using the following command:
[[email protected]:~/wiki]$ php update.php
You will will get the following error:

How to use curl command with http/2 on MacOS X

How to use curl command with http/2 on MacOS X

            curl -I –http2 https://google.com
            curl: (1) Unsupported protocol

How to enable the gzip/deflate in nginx server on Linux or Unix system

Edit your nginx.conf file or create a new config file called /etc/nginx/conf.d/static_gzip.conf:
$ sudo vi /etc/nginx/nginx.conf
Add the following in http context:

In depth understanding of PHP Opcode cache principle

  What is the opcode cache? When the interpreter to complete the analysis of script code, will they generate intermediate code can be run directly, also known as the operation code (Operate Code, opcode). Opcode cache aims to avoid duplication of compilation, reduce the cost of CPU and memory. If the performance bottleneck of dynamic […]