it to off.Autoindex on; # enable directory list access, which is suitable for downloading servers. It is disabled by default.Tcp_nopush on; # prevent network congestionTcp_nodelay on; # prevent network congestionKeepalive_timeout 120; # long connection timeout time, in seconds# FastCGI parameters are used to improve website performance: reduce resource usage and increase access speed. The following parameters can be understood literally.Fastcgi_connect_timeout 300;Fastcgi_send_timeout 300;Fastc
(1.1 by default. Use 1.0 if squid2.5 is the frontend)Gzip_comp_level 2; # compression levelGzip_types text/plain application/X-JavaScript text/CSS application/XML;# Compression type. Text/html is already included by default, so you don't need to write any more below. There will be no problem in writing, but there will be a warn.Gzip_vary on;# Limit_zone crawler $ binary_remote_addr 10 m; # use this function when you enable the IP address connection r
The sysv-rc-conf under Ubuntu perfectly "replaces" the Chkconfig under CentOS The problem: NBSP; installed Ubuntu14.04 after found Chkconfig use can not, and can not install Chkconfig, so cousin on the internet to find solutions, and finally found Chkconfig is redhat under the program, and in Ubuntu has a better program Can perfect "replace" chkconfig, that is sysv-rc-conf. Workaround
I have been working on the frontend for a while and I want to take notes.
The purpose of building a series of front-end environments is to take the front-end team as a whole. The first part is the development environment for effective team-based collaborative development.
1.CodeVersion Management
SVN is essential. The version number is planned to be deployed based on the three-digit version of the project and four-digit version development. For
Label: style blog HTTP Io color ar OS SP File For mobile-side pages, we use the FIPs to build an example Development Directory design, with the module as the core.
Development Directory
Deployment directory
-Conf code
/*启动插件*//*fis.config.set(‘modules.postpackager‘, ‘simple‘);*/fis.config.set(‘roadmap.domain‘, { ‘**.*‘ : ‘http://10.25.5.29:8000/target‘});fis.config.set(‘roadmap.path‘, [ { /* 去掉test目录*/ reg : ‘*
Examples of WebAPI Implementation of frontend and backend separation, webapi examples
With the development of Web technology, there are countless frameworks, front-end and backend. Full-stack engineers are under increasing pressure.
Currently, front-end frameworks can be used for both various Web and various apps. Front-end frameworks are updated more and more quickly.
Traditional Mode
Debugging on the frontend
Experience on Web frontend and backend separation and Web-end separation
Since the company has a special project, it used to write a program completely using php (smarty), and now it has to switch to php + node. So I accidentally instilled in the back-end students the idea of using node for frontend and backend separation.
I have answered such a question in zhihu before. Probably as follows:Http://www.zhihu
When I was working on a Web project recently, it was always the same as the tomcat5.5 directory
/conf/catalina/localhost the configuration file about the project in this deal.
What is he specifically about?
To get information from the Internet, organize as follows:
(3) Set up ABC directory under C:/tomcat 5.5/webapps/, in/conf/catalina/localhost
The following files are created Sxzlc.xml,sxzlc.xml file
Now we know the dynamic and static function libraries, and we know that most of the current Linux systems make the function libraries into dynamic function libraries. Next we will discuss how to increase the function library reading performance. We know that the access speed of the memory is several times that of the hard disk. Therefore, if you load common dynamic function libraries into the memory (high-speed cache, cache ), when the software kit uses a dynamic function library, it does not ne
process you should have some understanding, summed up the following:The files that are stored in the/ETC/RC0.D~RC6.D directory are the services to be started when running at 0~6 run level, because Ubuntu is enabled by default in RunLevel 2, Then we need to modify the files in the rc2.d, which prevents some services from starting, such as apache2.Review the files in the/ETC/RC2.D directory just now to find apache2 related files are s91apache2.We look at the following Apache file attributes:The s
Tomcat publishes the project in roughly three ways, but the side dishes think it is best to publish the project by adding a configuration file under the Tomcat's Conf/catalina/localhost directory.
Because this is the least intrusive for Tomcat, you just need to add a configuration file, do not need to modify the original configuration, and support dynamic resolution, modify the code to take effect directly (except to modify the configuration).
But the
Generally after the deployment of Tomcat, run for a long time, the Catalina.out file will be more and more large, the stability of the system has caused a certain impact.
This section of the log information can be masked by modifying the Conf/logging.properties log profile.
1catalina.org.apache.juli.filehandler.level = WARNING
1catalina.org.apache.juli.filehandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.filehandler.prefix = Catal
?Have you ever met:
The front-end code has just been written, and the back-end interface has changed.
The interface document is always incorrect.
The test will always be available soon.
Why are you suffering more from frontend and backend separation?
The frontend and backend separation is no longer news, and more problems are encountered after the real separation. To solve the current pain, you must kno
Two lessons from front-end Projects: 1. It may take several days or even longer for any third-party department. The interfaces provided by a third party are almost unverified. This problem is common. 2. There is a shortage of front-end technologies for background R D personnel. When the front-end mainly covers static pages (CSS + html), the backend R D personnel process the interaction between static pages and the background, and the business processing is inefficient, helpless and frequent pr
A: Is it a wise choice to abandon the backend to the frontend? A: Is it a wise choice to abandon the backend to the frontend?
2016.03.20 10:05:30
Zhihu asked me to answer a question: "Is it a wise choice to give up switching the backend to the frontend ?」 .
This question is like a hot topic in recent discussions on the
What is the front-end development process for websites whose content needs to be updated frequently? Is html, css, and js still written to the backend or html based on backend templates such as smarty? What is the front-end development process for websites whose content needs to be updated frequently? Is html, css, and js still written to the backend or html based on backend templates such as smarty?
Reply content:
What is the front-end development process for websites whose content needs to 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.