1. Install squid-2.5Groupadd squidUseradd? G squidRpm? Ivh squid-2.5.STABLE3-3.3E.i386.rpmIi. Configure squid. conf:# Set the proxy port of SQUID (with the IP address added, Squid will not listen to external network interfaces)Http_port 192.168.0.1:
In linux, free is usually used to view the memory status.What is the difference between cached and buffers in the free command of linux?FreeMem: physical memory statistics-/+ Buffers/cached: indicates the cache statistics of physical memory.Swap:
Vmstat is a comprehensive performance analysis tool that allows you to observe the process status, memory usage, virtual memory usage, disk I/O, interruption, context switching, and CPU usage of the system.
Run the vmstat 1 command as the root user
[Android Notes] hard disk cache tools, Android tools
DiskLruCache (https://github.com/JakeWharton/DiskLruCache) should be familiar to everyone. (For details, refer to here) It is an open-source library written by jakewharton and provides a hard disk
Let's talk about jquery ui tabs, jquerytabs
Click here to download jquery ui, or go to the official website to view the help documentation.
1 attribute
1.11 ajaxOptions: add an ajax option when the tab loads content. The added ajax option takes
Image compression and cache efficient loading to avoid oom summary, image compression oom
Efficient loading of large images
Check the maximum available memory for each application:
int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
1. Avoid using eval or Function Constructor2. Avoid using3. Do not use try-catch-finally in functions with performance requirements.4. Avoid using global variables5. Avoid using for-in functions with performance requirements.6. Use string to
For linux/ubuntu free, check the memory usage. For details, refer to my memory usage: $ free-mtotal used free shared buffers cachedMem: 1908 1844 64 0 56 689-/+ buffers/cache: 1098 810 Swap: 3904 0 3904 www.2cto.com at the beginning, I was shocked.
Preface
I believe that jQuery's data cache will not be unfamiliar to anyone. The jQuery cache system is used not only for DOM elements, but also for animations and events. Therefore, in actual applications, we often need to cache some data for
First, Redis's replication:The first thing to note here is that it's too easy to configure the Master-slave mode in Redis. I believe you can do it easily after reading this blog. Here we should first list some theoretical knowledge, and then give
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence numbers need to be sorted. 1. Create sequence you must first have the create sequence
With velocity, many of the original tags are unusable and must be done with velocity tools, the latest version of Velocity Tools is 2.0, and here are some considerations for velocity tools:1. Integration issues with Spring MVC 3.x/4.xSpring 3.x/4.x
Http://www.iteye.com/topic/26431
Create a sequenceIntroduction to Oracle Sequence
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence
HTTP Request Header Overview (httpservletrequest)
HTTP customer
Program (For example, a browser) must specify the request type (usually get or post) when sending a request to the server ). If necessary, the customer program can also choose to send
in Oracle, sequence is the so-called serial number. It is automatically added each time it is obtained. It is generally used in places where the sequence numbers need to be sorted. 1. Create sequence you must have the create sequence or create any
The Host header is a bound domain name, Host header is not required if no domain name exists
The so-called host header is called from the function of binding domain names in IIS. Generally, port 80 of an IP address on a Web server can only
LinuxThe difference between memory buffer and cache in the operating system is as follows: Let's start with the free command.
Compared with top, the free command provides a more concise view of the system memory usage:
$ Free
Total used free shared
{Code ...}
Public function test3 () {$ a = S (array ('type' => 'redis', 'prefix' => 'think', 'expire '=> 3600 )); // Set the cache echo S ('name', "1111"); // the returned value is 1} public function test4 () {echo $ value = S ("name "); // output
Cache
Configuration
The Laravel provides a unified API for multiple cache systems. The cached configuration file is stored in the config/cache.php. You can specify in this file which cache driver the entire app will use by default. Laravel
In Oracle, sequence is the so-called serial number, which is automatically increased every time it is obtained. It is generally used in places where the sequence numbers need to be sorted.1. Create SequenceFirst, you must have the create sequence
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.