I usually do the NGINX environment when the following methods are generally used,
Nginx www user www Group,
PHP-FPM www user www Group,
Web site, a user www group, this time set the permissions are 775, in fact 755 is not used, because PHP-FPM and
Http://www.cnblogs.com/tzyy/p/4908165.htmlChapter Catalogue
Browser caching principles
Text version Description
A picture of the
Cache Related header fields
Request Cache Related header fields
Response Cache Related
Before the project encountered a lot of browser cache related issues, also on the Internet to check the data, the server configuration, to ensure that the client load server resources speed and resource effectiveness. Recently carefully looked at
Detailed explanation of java time and date usage and query code, and detailed explanation of java date code
As long as the format is correct, you can directly compare the string, and the accuracy is the same as that of seconds.
String s1 = "2003-1
1. The instance requires the design of A thread operation class, which requires that three thread objects can be generated, and the sleep time of three threads can be set separately: thread A: Sleep for 10 seconds thread B: sleep for 20 seconds
In front-end development, we usually need to get and record some of the user's operation settings, so that users can visit the site next time without repeated adjustments to set the same function.The method in this article is in the front-end
Instance requirements:Design a threading action class that requires the ability to produce three thread objects, and can set the sleep time of three threads, respectively. As shown below:Ask how to design?AnalysisFrom the previous learning that
For some application tool software, the interface should not only be user-friendly, beautiful, but also highlight the interface functions and ease of use, in order to attract users.
014 OutLook Interface
Generally, the menu bar and toolbar of a
Test, textSlow query log open slow query log
Slow query logs, as the name implies, are logs that record slow query execution.
Check whether the slow query log is Enabled:
show variables like '%slow%';
Open the slow query log. The configuration file
Preface
This article is mainly on the "about YII2 how to realize the cross-domain SSO landing Resolution" improvement, because in that article I have written the SSO landing basic implementation process, is now further optimization. The main
First of all, I generally use the adapter is Baseadapter, of which two methods are the most important, namely: Getcount,getview, when the ListView is optimized, first use Convertview and viewholder mates to optimize, The use of Convertview is the
Cache is a high-speed cache. How does Cache improve system performance and speed? Can I use cache to improve performance in any situation? Is it because the more cache is used, the better? I have some experience in recently developed projects. I
Cookies, sometimes in their plural form, are the data (usually encrypted) stored on the user's local terminal by certain websites in order to identify the user and track the session. Definitions of RFC2109 and 2965 have been deprecated, and the
use of tags in HTML Tags basic introduction tags are an important HTML tag in the source code of an HTML Web page . META notes are used to describe The properties of an HTML page document, such as author, date, keyword, and page refresh. In
Tags Basic introduction tags are an important HTML tag in the source code of an HTML Web page. Meta notes are used to describe the properties of an HTML page document, such as author, date, keyword, and page refresh. In addition tags are used for
If we press F12 or ctrl+shift+j in the browser, we can open the developer tool and see a lot of elements in the elements in element. , elements are essential for Web pages. When we create a HTML5 document, we find a label similar to , which
Reprint Annotated Source: http://blog.csdn.net/xiaohanluo/article/details/521309231. PrefaceIn Android development, it is assumed that there are some simple layouts. are very easy to fix. But when it comes to complex pages, especially when
under Windows, a file has: creation time, modification time, access time. and under Linux, a file also has three kinds of time, namely: access time, modification time, state change time . There is a difference between the two, there is no concept of
use the shell in Linux to get yesterday, tomorrow or many days before the date time -- A- , the: -:xxblogjava-Expert Area Original http://www.blogjava.net/xzclog/archive/2015/12/08/428555.htmlTheme Shell Original address:
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.