Caches are used to improve the performance of your Drupal site. Rather than extracting the same data over and over again every time a page is loaded, caching stores frequently accessed and relatively static data
in a convenient place and format.
Caching has a drawback in that it can lead to “stale” data. This means that the website outputs old data or content from the cache even though newer stuff exists somewhere else. This problem can be particularly troublesome for developers who can get confused as to why changes they expect to see happen arent. Hopefully, by reading this document, you’ll have a more pleasant and less confusing Drupal experience.
What gets cached, where it gets cached, and how There are two different ways Drupal stores cached data:
1) Using files
Drupal can consolidate all the css files your site delivers on each page load and place them into a fewer number of files. The resulting files are also compressed. This is important for Drupal sites where its not unusual to have a dozen or more stylesheets associated with each page, depending on how many modules are enabled. Having so many stylesheets will increase page load times because the browser has to make several round trips to the server to download all the stylesheet files. By using the css caching feature, you can consolidate these files into fewer larger files and decrease page load time significantly.
You should set the name and id of your html form same as $(“#registerForm”).validate();
For each required form element just place class=”required” and specify minlength tag inside it. For example
Name field -> class=”required”
Email field -> class = “required email”
Thats it! you will be able to validate form field textboxes without any advanced code.
For optional fields, you can specify class=”optional” or just leave it.
HTML5 introduces many cutting-edge features that enable developers to create apps and websites with the functionality, speed, performance, and experience of desktop applications. But unlike desktop applications, apps built on the web platform can reach a much broader audience using a wider array of devices. HTML5 accelerates the pace of your innovation and enables you to seamlessly roll out your latest work to all your users simultaneously.
HTML5 gives you better way to write W3C Standard code. There are many browsers available in the market these days. If you want your site or blog to work same across all browsers, HTML5 is the best way to implement.
More over that, HTML5 is replacing Flash heavily for many reasons. In our next article, I will discuss more about that.
Please feel free to post a comment or questions, if you have any! I will get back to you with answers.