How to make Ajax Cacheable for website optimization

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
One of AJAX’s benefits is it provides instantaneous feedback to the user because it requests information asynchronously from the backend web server. However, using AJAX does not guarantee the user will not wait for the asynchronous JavaScript a [...]

How to use Cookie-Free Domains for static content

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
An HTTP cookie (also known as web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing. Cookies were [...]

How to Specify a Cache Validator for a Webpage in PHP

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
What is a Cache Validator? A Cache validator is defined within HTTP request and response headers and help determine if it is still valid to retrieve a file from the browser’s cache. Cache validators are important as they determines whether or not y [...]

Optimizing the Order of Styles and Scripts

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
In this post we are going to learn about how to optimize the order of styles and scripts. Style tags and calls to stylesheets should be placed before your scripts. If you do this your pages load faster. When a browser is loading your webpage it gets [...]

How to Optimize Images for Website Optimization

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
The images you create in programs like Photoshop and Illustrator look amazing but often the file sizes are very large. This is because the images are made in a format which makes them easier to manipulate in different ways. If you put these files on [...]

Leverage Browser Caching for Website Optimization

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Every time a browser loads a webpage it has to download all the web files to properly display the page. This includes all the HTML, CSS, JavaScript and images. The large files take longer to load and can be especially painful if you’re on a slo [...]

How to Improve Server Response Time

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Response Time is the amount of time that it takes for the server to send a response to the testing location. This variable may be impacted by the distance between the virtual visitor and address of the website.   What Is Server Response Time? Se [...]

Website Optimization Techniques Part-2

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
28.Serve static content from a cookieless domain: To increase the loading speed of a website, you need to setup your website to serve the static content, such as images and css files, from a cookieless domain. This will speed up your page loads by re [...]

How to enable GZIP compression for faster loading

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
What is GZIP Compression? GZIP is a file format and a software application used for file compression and decompression. GZIP compression is enabled server-side, and allows for further reduction in the size of your HTML, stylesheets, and JavaScript fi [...]

How to combine images using CSS sprites

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Similar to JavaScript and CSS, downloading multiple images incurs additional round trips. A site that contains many images can combine them into fewer output files to reduce latency.   Benefit of using CSS sprites Imagine you have five images be [...]

How to avoid the use of document.write

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Using document.write() to fetch external resources, especially early in the document, can significantly increase the time it takes to display a web page. Using document.write() from external JavaScript resources is especially expensive, since it seri [...]

How to avoid URL redirects for Website Optimization

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
URL redirects are made using HTTP status codes 301 and 302. They tell the browser to go to another location. Using URL redirects will delay page loading as the page cannot be rendered until the HTML document has been received from the web server. One [...]

What is Trailing Slashes in URLs

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
A URL is the address of a specific webpage or file on the Internet. For example, the URL of the PHPsupport website is http://www.phpsupport.co/. The URL of a website carries a lot of information to improve user recall and increase the websites SERP s [...]

How to add Expires headers in .htaccess file

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
After Google’s announcement of the impact of site speed on search rankings, many articles were written about the benefits of setting expires headers to control browser caching. This post explains what expires headers are and how they added to speed [...]

Website Optimization Techniques Part-1

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
In this post you will learn about Website Optimization. Website optimization can offer many measurable business benefits if done correctly. First, the process of website optimization determines the best version of web page elements that help visitors [...]

How to create Child Theme in WordPress

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
In this post you will learn how to create a Child Theme in WordPress. But before creating a child theme we have to know about child theme.   What is a Child Theme? A child theme is a theme that inherits the functionality and styling of another t [...]

How to show google map with multiple markers in PHP web page

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
In this post you will learn how to show a simple Google map with multiple markers in a web page. Google map with multiple markers can be implemented by using simple HTML tags and JavaScript functions. For this firstly you have to create an HTML page. [...]

How to show google map in PHP web page with Custom pointers

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
In this post you will learn how to show a Google map with custom pointers in a web page. For this firstly you have to create an HTML page that contains a div tag with id attribute for showing google map. After that you have to write your own JavaScri [...]

How to show google map in PHP web page

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Google Map is the widely used element in contact form for a website and you can easily show Google Map to your website.In this post you will learn how to show a simple Google map with a marker in a PHP web page. Google map can be implemented by using [...]

How we can create custom post type plugin.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
How we can create custom post type plugin: In this post you will learn how to create a custom post type plugin in WordPress.   What is Custom Post Type Plugin? If you want create own custom posts in your site, you will use custom post type plugi [...]