1. Image loading effect. Browsers choose different rendering algorithms based on different images.1.1 wavelet algorithm: First blur and then clear. This loading method is faster and improves rendering performance. The disadvantage is that more memory is consumed. If it is a large size picture, you can use this method.Export images from PSD, stored as Web format, JPEG tick continuous, PNG tick interleaved, so the exported image is from blur to clear.1.
so on, are suitable for this technology.
7, compressed JavaScript
Compress and minimize your JavaScript files.
Online compression address:
http://dean.edwards.name/packer/
Before compressing, please ensure that your code is normative, otherwise it may fail, resulting in a JS error.
jquery Performance Tuning Guide (2) This conclud
Improve PHP performance by caching database results (2 ). Now you can create a notification handler that sends a change notification to the client using the sendNotification process described above. Let's take a look at the "list
Create a notification handler
Now you can create a notification handler, which will use the sendNotification
The process sends a change notification to the client. Let's take a lo
MySQL Study Notes (iv) Performance Optimization 21. Efficient Model Design
(1) moderately redundant queries to minimize join
Take out some data from other tables and put it in your own table. For example, in the publishing information table, not only the user ID is saved, but also a nickname is saved.
(2) Vertical Split of large fields
Split the field into another table, such as some large fields,Art
On the morning of the 5 th, the IE Development Team released the new version of the Internet Explorer 9 Platform Preview version 2 promised previously.
Because many features of IE9 are not yet finalized, the name of "Platform Preview version" indicates that this version is only intended for Web developers) to demonstrate new IE improvements in speed, HTML5, and graphic rendering, it does not contain complete browser functions, nor does it explain w
column reference '*' is a convenient method. unfortunately, this is a very inefficient method. in fact, Oracle converts '*' into all column names in sequence during parsing.WorkIt is done by querying the data dictionary, which means it takes more time. 7. reduce accessDatabaseNumber of timesWhen each SQL statement is executed, Oracle performs a lot of internal work: parsing SQL statements, estimating index utilization, binding variables, and reading data blocks. it can be seen that reducing th
segments and determine their data segment fragments.
If a segment contains too many fragments, you can use either of the following methods:1. Create a new table with the correct storage parameters, insert the data of the old table into the new table, and delete the old table;2. Use the Export/Import tool.
Example: exp system/manager file = exp. dmpcompress = Y grants = Y indexes = YTables = (T1, T2)If the output is successful, go to Oracle and delete
'*' in the clause '*'
When you want to list all columns in the SELECT clause, using dynamic SQL COLUMN reference '*' is a convenient method. unfortunately, this is a very inefficient method. in fact, ORACLE converts '*' into all column names in sequence during parsing. This task is done by querying the data dictionary, which means it takes more time.
7.Reduce the number of database accesses
When each SQL statement is executed, ORACLE performs a lot of internal work: parsing SQL statements, es
Performance Optimization --. NET (C #) calls webService to obtain the region of the Client IP address (asynchronous callback) (2 ),
My friends shared this time that asynchronous callback is not an asynchronous call!
Please note!
Function Description,Interface address,Method NameAndParameter description. Same Article:. NET (C #) Call webService to obtain the region of the Client IP address (non-asynchronous)
IIS6.0 Application pool recycling and worker processes
A company's web site program after a long run, slow speed, restart the site after the speed significantly faster, estimated that the Web site program occupied by the memory and CPU resources can not be released in time, only need to restart the site every time the release of resources. But manual restart is not the solution to the problem, how to achieve automatic management? The IIS6.0 application pool Automatic recycle feature solves this
browsers have a maximum cache size, and when the cache reaches that size, the least recently used items are removed from the cache, so cache entries that have not been used for long periods of time will be erased and we should keep the items more frequent.Therefore, clearing the cache is based on user behavior and there is no reliable prediction. If the cache header is not considered, the browser may store what you do not want to save in the cache, without saving what you want.As a result, deve
IIS6.0 application pool collection and workflow
After a company's website program runs for a long time, the speed slows down and becomes faster after the website is restarted. It is estimated that the memory and CPU resources occupied by the website program are not released in time, you need to restart the website to release resources at intervals. However, manual restart does not always solve the problem. How can we achieve automatic management? IIS6.0's application pool automatic recycle funct
, and most of the business logic also occurs in these events, so the processing of such events requires more CPU. In this case, the pressure on the front-end server is mainly I/O, and the pressure on the Scenario Server is mainly on the CPU. If the pressure on the front-end server is deployed separately on different machines, the pressure on the servers on both sides is not balanced. The front-end servers have a lot of CPU remaining, and the CPU of the server is insufficient in the scenario. So
Nginx is very suitable for web sites because it is small and occupies less resources. More and more Linux + nginx + PHP + MySQL sites have gradually surpassed Apache and Lighttpd in recent years.
If Google-perftools developed by Googler is used to optimize the memory management of nginx and MySQL, the performance will be improved to a certain extent. especially for servers with high concurrency, the effect is more obvious. this tutorial is applicable
Method 1: Define the appropriate referential integrity constraints between the fact table and the three dimension tables
In DB2, you can define primary key and foreign key constraints to allow the database manager to enforce referential integrity constraints on the data. Referential constraints such as foreign keys also help improve performance. For example, if you modify the subexpression TMP1 in the query in Listing
Create a notification Handler Now you can create a notification handler, which will use the sendNotificationThe process sends a change notification to the client. Let's take a look at the PL/SQL process orders_nf_callback in Listing 2.List 2.Notification handler that processes changes to the OE. ORDERS table
CREATE OR REPLACE PROCEDURE orders_nf_callback (ntfnds IN SYS.CHNF$_DESC) IS tblname VARCHAR2(60); n
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.