inline, at least before the end of the page to load the resources to see, ideally index.html download end is displayed (2G 5S)④cdn......From the engineering point of view, more than half of the above optimization points are duplicated, generally at the time of release directly using the project building tools, and some are simply server configuration, developmen
Front-end development: How to write beautiful Vue and front-end development vue
A few days ago, I heard a sentence about the coexistence of vigor and encouragement, which is terrible and embarrassing. the most helpless and unsolvable words: "After the 90 s, your mid-age crisis has been killed ". This made me very touch
[Translation] basic requirements of front-end developers and basic requirements of front-end developers
Note: The title of the first translation technical article has been entangled for a long time and I don't know how to translate it. If I find that the translation is inappropriate, click the github link to submit a c
Using nginx as the front-end server and tomcat as the back-end server can achieve the tomcat cluster through some simple configuration. Generally, you only need to configure nginx in the nginx configuration file nginx. conf as follows.
http { upstream tomcat-host{ server 192.168.1.201:8080 weight=3; server 192.168.1.202:8080; ip_hash;
Relative to the desktop browser, there are some obvious features on the mobile web browser: Small device screen, good compatibility with new features, support for some newer HTML5 and CSS3 features, need to interact with native applications, etc. But mobile browsers have a very limited amount of CPU computing and network resources available, so it's often necessary to do more to optimize the mobile web. First, in the front-
little while, the load is finished. You will see the following interface. To verify that the GRUNT-CLI is installed and in effect, you just need to continue typing the "grunt" command on the command line. If effective, the following results appear: You do not care what these results mean, in short, these hints appear to prove that your GRUNT-CLI installation is successful.4. Create a simple websiteGrunt is applied to the actual project, so we have
long, a little while, the load is finished. You will see the following interface. To verify that the GRUNT-CLI is installed and in effect, you just need to continue typing the "grunt" command on the command line. If effective, the following results appear: You do not care what these results mean, in short, these hints appear to prove that your GRUNT-CLI installation is successful.4. Create a simple websiteGrunt is applied to the actual project, so
are managed using NPM (Nodejs's package management tool).
Install node and NPM. To Nodejs official website installs the package, installs can
Global installation Webpack. In the case of networking, execute the command line $NPM install WEBPACK-G.
This to can use Webpack, to Webpack official website to press get Start (http://webpack.github.io/docs/tutorials/getting-started/) steps, Experience one of the simplest build processes.However, it is not enough to use webpack well, ju
Nbsp; 1. nbsp; front-end description: my Nginx version is 0.7.63 and is installed in/usr/local/nginx. the default port is 80, the Nginx startup, shutdown, restart, and reload configuration files are rewritten and put under/usr/local/nginx/sbin/, named nginxbak. sh. Nbsp; 1. note: my Nginx version is 0.7.63 and is installed in/usr/local/nginx. the default port is 80, the Nginx startup, shutdown, restart,
teach the teacher, in this period, I also preview the HTML5 front-end of some knowledge, after repeated comparison and consideration, finally choose still school to start my front-end road.Web front end of the first day, the teac
tasksAfter all the packages have been installed, create a new JavaScript file in the project directory Learn-gulp, named Gulpfile.js, to define the tasks in the file. For more detailed information about tasks , see what happens when you perform a $Gulp-a front-end integration solution based on GULP (ii).1, Load Gulp plug-in.' Use strict '; var gulp = requ
Writing high-quality code-cultivation of Web Front-end development-Reading Notes and cultivation of web Front-end developmentPrefaceIn the past two weeks, I participated in the company's new project and used closed-end development (the project members developed in the confer
functions.
However, I don't think we should use the grunt to find abuse on a small page.0x02 javascript code Modularization
As the business becomes more complex and pages increase, we no longer need several javascript files. We need to introduce many third-party libraries and write many modules ourselves. If we use the traditional method:
It is not a wise choice to write a large number of js files.
Therefore, we need to modularize javascript code, dynamically
Self-cultivation and front-end engineer of a junior front-end engineer
Preface
Optimized! Optimization again!
As the bond of the entire web application, the tumbler connects user behavior and machine performance. The final significance of optimization is to strike an optimal balance between the two.
This is especiall
The first two articles briefly introduce the application of lucid and the core extension of SOLR. Now we will briefly look at how the interface presented to the front-end based on SOLR is implemented. This part of lucid providesSource codeSo it looks more convenient.
Last twoArticleThe content is as follows:
Analysis of front-
Front-end encoding specification (2) HTML specification, front-end EncodingDocument Type
HTML5 document type statement is recommended:
(Html in text/HTML format is recommended. Avoid using XHTML. XHTML and its attributes, suchapplication/xhtml+xmlLimited space for application support and Optimization in browsers ).
In
[Front-end learning notes] native Javascript uses JSONP (common front-end methods) for cross-origin, learning notes jsonp
Ajax cross-origin --------------------------
Cross-origin: When a file under a cross-origin domain name is requested for a resource file under a different domain name from another file, a cross-ori
Record the test and interview experience of the front-end school recruitment for one push, and the front-end testPen exam photos written test answers computer basic questions (mandatory) 1. Slightly 2. memory overflow and Memory leakage
Memory overflow refers to the amount of data that can be stored out of the obtained
The front end has been playing bad! Like Console.log () you can export pictures to the console. Cool stuff is not news anymore, like with | | operator to assign the default value of the variable is also known to the old news, today saw Quora a post, instant and get a lot of front-end skills, some of the skills, some ar
);document.head.appendChild(fileref);}}if(callback){fileref=$(fileref);addEvent(fileref,'load',callback);fileref.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete"){callback();}};}};
Note:
1. corecsspath (CurrentCSSStorage path),Corejspath (CurrentJSStorage path),This is mainly because of Path Problems.,I will talk about it later.
2. CallbackIs to call the method after the file is loaded.
3.By the way, I mainly use
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.