Produce your web sites work faster or I can adjust how. Htaccess for IIS

In April 2010, Google stated that the speed of a website shall be considered an aspect of web search ranking. This means that the founder of the website and webmasters need to optimize their websites. What is the rather to do that? What if web developers are out of reach? What happens if you change the code is not an option? We proposed several decorations and lighting solutions to improve the performance of your website using Helicon Ape. To innovate you need to download and install Helicon Ape on your server Windows. I ndigene Helicon Ape Manager allows you to check web server settings using . htaccess for files IIS text. General Tips unadorned:

1. Static cache

Caching static content (images, css files javascript) on the client side (in browser) means that having received a rather static file browser keeps a cache and not a request to the server the next Once the HTML document requested. File is taken from the cache. Both sides win: the customer carries less Inquiry, the site is working processes faster and less server requests. For example, ordinary WordPress page entry is more than a dozen links to static files (CSS files, images, scripts). Spend time in downloading these files exceeds the time spent downloading the same message. Previously, once content caching authorized static once downloaded. While moving to the success page, all you can download is the page itself. All static files be taken from cache. In order to make the browser cache static content, http-response should contain specific headers: Expires and Cache-Control. Those headers are provided by mod_expires mod_headers and modules. To enable caching, created using htaccess for IIS. file with the following contents inside the folder static

ExpiresActive In

Joint public Cache-Control header

ExpiresByType image /. + "Access 15 days"

ExpiresByType text / css "Access to 5 days"

ExpiresByType application / X-javascript "access to 5 days"

ExpiresByType application / javascript "access to 5 days"

If there is no such static content directory and the files are transmitted through the Web site folder, if you create the following. htaccess in the root will cache site all the static content on the website of the file extension:

<Files ~ .(gif|png|jpg|css|js)>

In ExpiresActive

Cache-Control header joint public

ExpiresByType image /. + "Access 15 days"

ExpiresByType text / css "access to 5 days "

ExpiresByType application / x-javascript "access to 5 days"

ExpiresByType application / javascript "access to 5 days "

</ Files>

This setting causes the http server to send responses to clients with information images are cached for 15 days and scripts and css-for 5 days.

2. Compress responses in the race

In order to save some time of loading of content, it can be compressed. All browsers are capable of receiving hot comressed gzip-traffic. Text files (html, css, files, scripts, json data) can be easily compressed and save you 20-90% of traffic. Archives same time, music and video can not be compressed as either in size with special codecs. Here is an example of how to enable gzip compression. Add the following line in htaccess at the root of the website.:

SetEnvIf (MIME text / .*) or (MIME application / x-javascript) gzip = 9

As you can see, this configuration is very simple. It is enough to have all text documents (HTML, CSS files) and JavaScript, compressed files before going to the client side. It is worth saying that the server compresses only responses browsers that support compression. Browser information server through the features of html header request.

3. Dynamic cache on the server side responses

Often, a good number of applications aimed at the database server, prohibit the execution of the website. For example, in the main blog page shows modern inputs, only comments, the navigation menu, list of categories and tags. Here are some complicated requests to the database. If the information does not change frequently or relevance is not daily, html responses should be cached without hesitation. You can select to cache the blog home page from time to 5-10 minutes. But that would be enough to improve performance in the browser page. Almost, application developer has resolved the pages to be cached and for how long. You also have to put in caching mechanism of life "outside the box." Unfortunately, this does not happen most of the time. Probably in mod_cache Helicon Ape simply and easily manage allow to sanction caching on the server. mod_cache supports two types of cache: memory cache and disk cache. First type stores data in disk cache, and the second done in memory. The cache is more preferable. If the server does not have enough RAM, disk caching. For example, the home page the site of the cache, add the following lines in the htaccess in the root.:

Header set Cache-Control public, max-age = 600

SetEnvIf REQUEST_URI ^ / $ cache-enable = mem

This setting applies caching of the application site home page for 10 minutes (600sec). The response is cached in memory. Be careful! You need to enable caching with care. For example, pages that need authentificaton should not be cached, as they contain sensitive data and the need to provide uncommon for special users. In any case, storage caching should be taken into account the application logic. We reviewed three easy steps to increase the speed of your website. Besides tangible speed boost, which is will notice at once, the acceleration must also improve its ranking in search engines. You can see the graph was www.helicontech.com compliance Using Google Webmaster Tools after a simple optimization. So equip your site with these tips and enjoy the double benefit!

About the Author

Founded in 2002, Helicon Tech Corporation is a privately held company that develops, licenses, and supports software solutions for web servers fine-tuning. The company's products serve to the needs of Apache emulation on Microsoft IIS (Ape), search engine optimization (LinkFreeze, ISAPI_Rewrite), protection against bandwidth theft (Hotlink Blocker), HTTP compression and caching (Helicon Jet).

Poise.sg - Jquery, JSON, WordPress, Firefox, FireBug demonstration


Wordpress


Wordpress


$8.57


No Synopsis Available

The WordPress Anthology


The WordPress Anthology


$29.83


No Synopsis Available

Using WordPress


Using WordPress


$21.24


No Synopsis Available

Wordpress Bible


Wordpress Bible


$42.49


No Synopsis Available

Wordpress in Depth


Wordpress in Depth


$18.33


No Synopsis Available

Smashing WordPress Themes : Making WordPress Beautiful


Smashing WordPress Themes : Making WordPress Beautiful


$37.98


No Synopsis Available


Turbocharge your FaceBook Marketing with FB AutoCash!

Tagged with:

Filed under: WordPress Marketing Strategies

Like this post? Subscribe to my RSS feed and get loads more!