We to optimize a webpage, accelerate a webpage to download speed, besides undertake optimizing to the picture besides, still need to be opposite the webpage is other each elements undertake optimizing. The course is woven in the webpage in if can make full use of,edit a tool, also can make in the webpage in achieve optimize a purpose.
It is belowDreamweaverMedium a few optimize ability law:
Reasonable call CSS
When undertaking the webpage is designed, apply a style to express odd CSS to undertake decorating to page element, can reduce HTML code greatly, this nods us already very clear.
Method:
(1) is object of make choice of, from inside right key menu the choice defines good style to join; (2) is choose modal; for the object from inside modal face plate
(3) is right key is clicked to choose a form on some label on label selector.
Although these 3 kinds of methods are obtained page result is same, but because the first kind of method is met,one arises in HTML code " Span " label, if cross much ground to use sure meeting to make webpage source file adds fertilizer greatly, the influence downloads speed. When calling CSS accordingly, should use the 2nd, the 3rd kind of method.
Decrease for the server negative
In alternant webpage, the user is commonly used express one-way server to submit data, the data processing that awaits a server, return a browser... the process that await is to make popular feeling irritated very much. For this, when we are undertaking the webpage edits, also be necessary to make a consideration for the server. The webpage is made in Dreamweaver, can decrease negative job to one is done more outstandingly for the server, the expresses sheet lawful sex that refers to user place namely undertakes test and verify, need to undertake in browser end only, need not return server test and verify, reduced the burden of the server already, let the person that browse is little again await sadly.
Method: ≈ is inclined? of a huge legendary turtle of Qian of of Dan of have illicit relations with of pump of of form of target of ignoranting of vasting ィ " date is chosen " proof list is odd " , undertake installing next can. Remind incidentally, process of this test and verify is to use JavaScript to carry test and verify in the browser actually. When afore-mentioned operations have in Dreamweaver, it can put code of this paragraph of JavaScript in the webpage the head and in, so sure meeting makes show time lengthens completely of the page, because the browser should download this paragraph of code first,just download other page element. Accordingly, code editor had better be opened in Dreamweaver, go to clip and paste of program of this paragraph of script the last frontier of source code, let its download finally. Additional, when we are adding JavaScript script specially good effect for the webpage, if you do not hope the page gives the go into effect on uptodate horse, also might as well such settings.
Ego " reduce weight "
At present webpage " tea reducing weight " a lot of, our everywhere can be found, and in Dreamweaver, we need not search everywhere " tea reducing weight " , use its oneself " reduce weight " the function is sufficient can make webpage " slender happy person " .
Method: Generation of Sui of Song regretful says Chi of ハ egg ≡ gathers up TML of 腍 of Gui chirp lament " , can undertake redundant to the webpage code undertakes keeping clear of installing.
Combine manage application form
We not only should decrease for the server negative, to use browser we need to decrease more negative, should shorten as far as possible namely the browser is right the analytic time of the page, the JavaScript script that alludes above is joined is an example. Influence browser has form to the page is returned analyticly, because the browser is right the size of the analytic time of form and form, complex degree becomes direct ratio, and we are in Dreamweaver the arrangement for format, locate through joining many form to undertake, some people cover multiple small table in old table even, this also is the burden that increasing a browser essentially, make the page presents time to grow substantially greatly. When using form for this, should as far as possible form break up, the layer upon layer appearance that should avoid form as far as possible is covered.

No comments:
Post a Comment