Asynchronous Javascript 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 and ...
phpsupport | phpsupportdesk Latest Articles
How to use Cookie-Free Domains for static content
pHpSupportHow To Make Cookie Free Domain An HTTP cookie (also known as a 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 ...
How to Specify a Cache Validator for a Webpage in PHP
pHpSupportWhat 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 determine whether ...
Optimizing the Order of Styles and Scripts
pHpSupportHow to Optimizing the Order of Styles and Scripts? 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 ...
How to Optimize Images for Website Optimization
pHpSupportOptimize images for website 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 ...
Leverage Browser Caching for Website Optimization
pHpSupportLeverage Browser Caching Every time HTTP request a browser loads a webpage it has to download all the web files data to properly display the page to users. This includes all the HTML, CSS, JavaScript and images. The large files ...
How to Improve Server Response Time
pHpSupportHow to Improve Server Response Time 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 ...
Website Optimization Techniques Part-2
pHpSupport28.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 ...
How to enable GZIP compression for faster loading
pHpSupportHow to enable GZIP compression for faster loading? 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 ...
How to combine images using CSS sprites
pHpSupportHow to combine images using CSS sprites? 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. The benefit of using CSS ...
How to avoid the use of document.write
pHpSupportHow to avoid the use of document.write? 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 ...
How to avoid URL redirects for Website Optimization
pHpSupportHow to avoid URL redirects for Website Optimization? 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 ...
What is Trailing Slashes in URLs
pHpSupportA 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 ...
How to add Expires headers in .htaccess file
pHpSupportHow to add Expires headers in .htaccess file? 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 ...
Website Optimization Techniques Part-1
pHpSupportIn 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 to accomplish a ...