Summary: the performance of the front end is important for the user experience of the Web App. Don't assume that your web app is good enough, but there are plenty of things you can do to improve your performance. This article introduces Google and Yahoo! Best practices and tools for front-end optimization, and you can test your
refers to the uncompressed size).
Package a component as a compound document: wrapping the page content into compound text is like an email with multiple attachments, which enables you to get multiple components in an HTTP request.
More information: http://developer.yahoo.com/performance/rules.html (Chinese translation)third, some tools1. Google PagespeedGoogle offers the Pagespeed tool, a browser plugin that can be used to best apply the Web
able to detect and warn JavaScript errors, urging technicians to proceed as quickly as possible.3. focus on detail information from page load times in order to accurately incorporate factors such as advertising, maps, shopping carts, network analysis, social media modules, CDN and DNS response times, we must pay close attention to page load times within the browser. Fortunately, now the next generation of IE, Firefox and Chrome have already provided HTML 5 navigation timing. It is able to split
are easily blocked by firewalls. Speaking of now, you might think, "I can't use websocket in my project, because the standards are not yet formed, and IE doesn't support websocket." The idea is not wrong, fortunately, we have a solution. Web-socket-js is a websocket based on the Adobeflash implementation. Use this library to gracefully downgrade in browsers that do not support websocket. After all, almost all browsers have Flash plugins installed. T
server (copy, move,Upload, create folder/file, rename, etc.)* High Performance server beckend and light client UI* Multi-root Support* Local file system, MySQL, FTP volume storage drivers* Background file Upload with Drag Drop HTML5 Support* List and Icons view* Kayboard Shortcuts* Standart methods of File/group selection using mouse or keyboard* move/copy files with Drag Drop* Archives create/extract (zip, rar, 7z, tar, gzip, bzip2)* Rich context Menu and toolbar* Quicklook, preview for comm
by clients, and some unconventional ports are easily blocked by firewalls.Now, you might think, "I can't use websocket in my project, because the standards are not yet formed, and IE doesn't support websocket." The idea is not wrong, fortunately, we have a solution. Web-socket-js is a websocket based on the Adobeflash implementation. Use this library to gracefully downgrade in browsers that do not support websocket. After all, almost all browsers hav
and height values of the width and height attributes are set, but sometimes it has side effects. Currently, zoom: 1 is commonly used to trigger. when very few very complex css settings are ineffective, hasLayout needs to be triggered using a more powerful position: relative.
Haslayout is an internal component of the Windows Internet Explorer rendering engine. In InternetExplorer, an element either calculates the size and organization of its own content, or relies on its parent element to calcul
Let's play with HTML5 CSS3!
----------------------------------------------------- Reprint original --------------------------------------------------------------------------------
The positioning of this book is not an API manual, but a practical skill. It gives me a feeling like the positioning of the impeccable web design. It is also like the style of DOM javascript programming art, use an actual case t
Guidance:As a developer, the speed of loading or Refreshing Web pages is critical to their websites. Adjust performance problems in the browser than in Java applicationsProgramIs more difficult. There are much less methods for developers to debug Javascript in various browsers. For example, in Mozilla Firefox, you can use firebug to debug JavaScript, but still cannot adjust many performance problems, such as browser rendering time consumption. To solv
button is created to share a custom image, as shown in Figure 4.7.
Click the share button and call the JSSDK Image Selection API to allow users to select images, as shown in Figure 4.8.
Figure 4.7 custom image sharing UI
Figure 4.8 UI after Image Selection
Then, call "uploadImage" to upload the image.
After the upload is successful, return the uploaded server "serverId", call the multimedia download API
APIs on the client. Http://files.cnblogs.com/n-pei/ProductStoreClient.zip
3. Web API self-hosting describes how to use Web APIs through non-IIS.
4. If the web API formater uses formater to control the output data format. Http://files.cnblogs.com/n-pei/WebAPIFormaterSample.z
as a better data service for some of the pristine apps.The following is the main share of this share:Basis:1. The Getting Started with ASP. NET Web API is primarily a simple example. Http://files.cnblogs.com/n-pei/HelloWebAPI.zip2. Web API clients describes how to invoke the Web
= "http://localhost:1577/api/productapi"; public async Task
Under "MySportsStore. WebUI", create the Home controller:
using System.Threading.Tasks;using System.Web.Mvc;using MySportsStore.WebUI.RESTServices;namespace MySportsStore.WebUI.Controllers{ public class HomeController : Controller { private ProductRESTService service = new ProductRESTService(); public async Task
Under "MySportsStore. WebUI", create the Home/Index.
Last week, I released the latest version of the Apworks framework. I plan to write some articles to introduce how to use Apworks for development in actual projects. Today, I would like to briefly write something. First of all, Apworks is a domain-driven development framework. Therefore, the analysis and establishment of Domain Models is the focus of Apworks. However, on the basis that you have no knowledge about Apworks, I will leave the domain model for the moment and show you how to use Apwork
The disclosure of the ASP. NET Web API 2 framework (see the new "ASP. NET Web API 2 Framework release") illustrates many of the best practices associated with ASP. NET Web API in an exa
Learning the Web API in recent times is very interesting. The default routing scenario, when fetching data, does not have to specify an action action name.There is another feeling, that is, since learning ASP, and jquery, let Insus.net has been slowly away from open ASP, think of that once handy web control ...The first two p
Many APIs, such as the GitHub ' s API, have traffic control practices. Use rate limiting to prevent the client from making too many requests to your API in a short amount of time. For example, we can limit the anonymous API client to a maximum of 60 requests per hour, and we can make more requests from more authenticat
Reference Address: http://www.cnblogs.com/shanyou/p/3194802.htmlInstalling the NuGet package: WebapicontribMany APIs, such as the GitHub ' s API, have traffic control practices. Use rate limiting to prevent the client from making too many requests to your API in a short amount of time. For example, we can limit the anonymous
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.