Magento Optimized htaccess

                                  Magento Optimized htaccess


The following htaccess entries are the optimized htaccess for a Magento, it will speedup your site upto 20%.
I have tested this htaccess in few sites and i have found that the speed of the site increased by 20%. You can also view the performance of your site after adding this site using the following link.

https://developers.google.com/speed/pagespeed/insights/

Feel the difference and optimize your site easily just by adding this, If you are getting more than 80% for your site in the above page speed test, it a good result.


########################################################################

## enable apache served files compression (not php, html/images/css/js

## http://developer.yahoo.com/performance/rules.html#gzip

<IfModule mod_deflate.c>

          # Insert filter on all content

          SetOutputFilter DEFLATE

          # Insert filter on selected content types only

          AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript

          # Netscape 4.x has some problems...

          BrowserMatch ^Mozilla/4 gzip-only-text/html

          # Netscape 4.06-4.08 have some more problems

          BrowserMatch ^Mozilla/4\.0[678] no-gzip

          # MSIE masquerades as Netscape, but it is fine

          BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

          # Don't compress images

          SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

          # Make sure proxies don't deliver the wrong content

          Header append Vary User-Agent env=!dont-vary

</IfModule>

###################################################################

## Enable keep-alives to reduce # http requests

<ifModule mod_headers.c>

            Header set Connection keep-alive

</ifModule>

###################################################################

## Add default Expires header

## http://developer.yahoo.com/performance/rules.html#expires

<IfModule mod_expires.c>

# Turn on Expires and set default to 0

            ExpiresActive On

            ExpiresDefault A0

            # Set up caching on media files for 1 year (forever?)

            ExpiresDefault A29030400

            Header append Cache-Control "public"

            # Set up caching on media files for 2 weeks

            ExpiresDefault A1209600

            Header append Cache-Control "public"

            # Set up 1 week caching on commonly updated files

            ExpiresDefault A604800

            Header append Cache-Control "proxy-revalidate"

            # Force no caching for dynamic files

            ExpiresActive Off

            Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"

            Header set Pragma "no-cache"

</IfModule>

Header unset Pragma
Header unset ETag
FileETag None

##############################################################################


Hope this helped....

This entry was posted by Unknown. Bookmark the permalink.

312 thoughts on “Magento Optimized htaccess”

«Oldest   ‹Older   201 – 312 of 312   Newer›   Newest»
  1. Learn Amazon Web Services for making your career as a shining sun with Infycle Technologies. Infycle Technologies is the best AWS training centre in Chennai, providing complete hands-on practical training of professional specialists in the field. In addition to that, it also offers numerous programming language tutors in the software industry such as Python, AWS, Hadoop, etc. Once after the training, interviews will be arranged for the candidates, so that, they can set their career without any struggle. Of all that, 200% placement assurance will be given here. To have the best career, call 7502633633 to Infycle Technologies and grab a free demo to know more.Best AWS Training in Chennai

  2. The AWS certification course has become the need of the hour for freshers, IT professionals, or young entrepreneurs. AWS is one of the largest global cloud platforms that aids in hosting and managing company services on the internet. It was conceived in the year 2006 to service the clients in the best way possible by offering customized IT infrastructure. Due to its robustness, Digital Nest added AWS training in Hyderabad under the umbrella of other courses

  3. By far the most real football betting UFABET that's beyond description Find fun, excitement and excitement with slot games, 100 totally free credit, rapid withdrawal. If you want to play slots for cash No need to have to deposit a good deal, without bare minimum, without need to have to discuss, throw away moment because UFABET is in fact broken off, paid seriously, a number of excellent offers are awaiting you. Ready to assure enjoyable, no matter if it's Joker SlotXo fruit slot, we can telephone call it a web slot internet site for you especially. Ready to play Including the assistance team which is going to facilitate slot formulas plus methods of actively playing So you will be sure that every minute of fun and excitement We will be there for you to give your customers the best impact along with achievement.
    บาคาร่า
    สล็อต
    ufa
    แทงบอล

  4. انفجار بت اولین و بزرگترین سایت رسمی معرفی سایت های بازی انفجار و کازینو آنلاین در ایران است که فعالیت خود را از چندین سال قبل آغاز کرده است. پیدا کردن سایت مناسب برای بازی انفجار برای همه ما دشوار است و اگر در سایت جعلی بازی کنیم تمامی سرمایه مان را از دست خواهیم داد! ولی در وبسایت انفجار بت ما بهترین سایت های شرط بندی و بازی انفجار را که اعتبار چندین ساله دارد برای شما عزیزان معرفی می‌کنیم و تنها با کلیک بر روی بنر های هرکدام از این سایت ها می‌توانید به سایت مورد نظر خودتان وارد شوید و شروع به بازی کنید.

  5. Great article! This is the type of information that are meant to
    be shared across the internet. Thank you for sharing such a useful post. Very Interesting Post! I regularly follow this kind of Blog.
    click here

  6. LEGIT DISPENSARY SHIPPING TOP DISCRETE WhatsApp: +14154846196(https://420budmall.com/)
    Are you depressed, suffering from cancer, glaucoma,
    headache, insomnia, joint pains, multiple sclerosis, muscle cramps, nausea,
    etc, and need the best strains of medical marijuana to help ease your pain ?? You have reached the perfect destination with quality herbs that guarantee a good and healthy life.
    Buy weed online, Dispensary weed, Buy marijuana online, Order weed online, weed for sale, when you buy from 420budmall dispensary we do top discreet shipping and delivery to your address. Buy medical Marijuana Online. Buy thc products online, buy carts online. Buy wax shatter edibles, live resin, cbd oil etc
    Buy weed online cheap, Buy cannabis products online, Buy marijuana online weed shop, marijuana buds the flower is usually consumed by smoking or vaporizing you can buy marijuana flowers in pounds from our weed store @ 420budmall.com. We have exotic weed strains like the Runtz strain, Biscotti, LA pack boys, and many orders. Skunk weed for sale Buying weed online cheap has never been this easy with the help of 420budmall.com Weed shop, You can purchase marijuana flower buds Today. The marijuana industry has always revolved around deals, even when it was only in the black market realm. Marijuana for sale online cheap, Get the strongest marijuana products on sale at 420budmall.com marijuana online shopping for less, the highest quantity weed for the least money with the high level of competition in the cannabis market.
    Our marijuana dispensary is mainly focused to serve the world with the best quality marijuana and expand even further with new states starting medical and recreational programs as we will in no doubt create opportunities for everyone to be able to purchase weed online. Legit Online weed shop worldwide delivery - Marijuana for sale online cheap - Buy real kush online cheap -Purchase real weed online UK - Order real marijuana online Canada - Marijuana for sale - Marijuana dispensary shipping worldwide - Buy weed Online cheap - Legit weed dispensary shop in the USA, cheap weed online shop. Skunk weed for sale Mail order weed online UK Marijuana Dispensary USA deliveries, we deliver Mail Order marijuana products across UK, Ireland, EU, and worldwide. We offer a marijuana discreet shipping USA without being discovered. UK Mail Order Marijuana.
    Buy Weed Online USA and Enjoy our vast selection of craft cannabis flowers, edibles, and concentrates from the comfort of your own home! Our goal is to provide our clients with the most secure, reliable, and safe experience when you buy weed online cheap or mail order weed online with the fastest deliveries, Skunk weed for sale Skunk weed for sale also known as AAA weed, buy skunk weed online today and have it delivered at your doorstep. top-shelf exotic weed for. Buy real weed from 420budmall.com if you want to buy some weed or how to order weed, how to order weed online, AAA weed for sale online, kali weed, Skunk weed UK, buy hash online USA, how to get free, buy AAA weed or the best quality, UK Cali, UK Cali, cannabis UK, Cali apparel UK, buy green crack online, are there girl scout cookies in England, Cali UK, is weed legal in England, buy cannabis edibles UK, is weed legal in Scotland, Buy Cannabis Products Online, buy sour diesel online, tko carts, death star og, is cheap weed ca legit cookies carts, death star og, 420 bud
    WhatsApp: +14154846193
    Email: Watsonmuld@gmail.com
    Website: https://420budmall.com/
    Telegram Channel: https://t.me/joinchat/tr3QkdGPjM5hZTQx


  7. Great to become visiting your weblog once more, it has been a very long time for me.

    Pleasantly this article i've been sat tight for such a long time. I will require

    this post to add up to my task in the school, and it has identical subject along

    with your review. Much appreciated, great offer. data science course in nagpur

  8. Infycle Technologies, the No.1 software training institute in Chennai offers the best Oracle course in Chennai for tech professionals and students at the best offers. In addition to the Oracle training, other in-demand courses such as Python, Selenium, Big Data, Java, Python, Power BI, Digital Marketing will be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7504633633 to get more info and a free demo.Best Oracle Course in Chennai | Infycle Technologies

  9. Grab Data Science Certification in Chennai for skyrocketing your career with Infycle Technologies, the best Software Training & Placement institutes in and around Chennai. In addition to the Certification, Infycle also gives the best placement training for personality tests, interview preparation, and mock interviews for leveling up the candidate's grades to a professional level.

  10. Learn Hadoop Training in Chennai for excellent job opportunities from Infycle Technologies, the best Big Data training institute in Chennai. Infycle Technologies gives the most trustworthy Hadoop training in Chennai, with full hands-on practical training from professional trainers in the field. Along with that, the placement interviews will be arranged for the candidates, so that, they can meet the job interviews without missing them. To transform your career to the next level, call 7502633633 to Infycle Technologies and grab a free demo to know moreTop Hadoop Training in Chennai | Infycle Technologies

  11. Gandhi Brothers Lottery Group was founded by Mr Manmeet Singh when he was 12 years old and today, it has been developed as a very reputed the well-established business firm of providing secure Lottery of Punjab State Lottery since the last 36 years. It has two Lottery system. Bumper Prizes weekly Prizes. The biggest jackpot hit from the Punjab State Lottery is New Year Bumper 2012 on 19-01-12 amounting Rs.2.00 crore Monthly Lottery Bumper 2012 held on 23-07-12 amounting Rs. 51 Lakhs distributed over prize money. Gandhi Brother’s lottery is Authorized and legal, assuring each player of a fair playing lottery.
    Monthly lottery

  12. Steps to Make Yahoo My Homepage on Chrome

    To smoothly make Yahoo my homepage on Chrome then click on menu button. Now, choose the settings options and scroll down the page and click to show home button. After that, click on enter custom web address. Enter the Yahoo page which you want to set as your homepage. Scroll down more and choose to open a specific page or set of pages. Now, tap on add a new page and from onwards, you can make Yahoo as homepage on Google Chrome without facing any issue.

    How to Silence Outlook Email Notifications?

    There are times when users have the query about how to silence Outlook email notifications then keep reading. For the Gmail users, tap on the gear icon towards the upper right of the Gmail window and tap to settings link. Now, click on mail notifications off under the desktop notifications section, and lastly, tap to save. These are the steps that you need to follow to turn off Outlook email notifications without facing any issue. It is advisable to follow the steps properly to not encounter any problems.


    What are Steps for Outlook Search Function Not Working?

    There are times when users face Outlook search function not working issue then you need to rebuild the Outlook search index catalog. If your Outlook is stuck during indexing then rebuilding the index catalog is one of the easy to troubleshoot the issue. For this, click on start menu and then type indexing options in the search box. Choose advanced from the Indexing options dialog box. Lastly, choose to rebuild and tap to OK from advanced options dialog box. These are the steps that you need to follow to troubleshoot the Outlook search function not working.

  13. How to Deal with Yahoo Mail Not Working?

    There are times when users encounter then Yahoo mail not working then start by clearing off cache and cookies. Another tip is to clear the browser’s cache and cookies that are stored information can be cleared from the browser. By cleaning the browser, you can instantly improve the experience with the Yahoo webmail browser-based version.Follow these steps properly and check out whether your Yahoo mail not working issue is resolved or not.These are the steps that you need to follow to troubleshoot the issue of Yahoo mail not working issue is resolved.

    Read More:- Yahoo mail not syncing

  14. today, i used to be simply browsing along and came upon your blog. just wanted to declare nice weblog and this text helped me loads, due to which i've discovered exactly i used to be searching. Imazing Crack

  15. Really nice and interesting post. I was looking for this kind of information and it was great to read it. Keep posting. Thanks for sharing 😊😊😊😊😊Sometimes travelers get overwhelmed by the complicated procedures of visa acquisition. However, getting e-visa to Turkey from Indian is as easy as making a paper plane : ) Apply Turkey visa for Indian passport with the online portal and get your e-visa in 3 steps!

  16. Without data analytics, you cannot imagine data science. In this process, data is examined to transform it into a meaningful aspect.
    Without data analytics, you cannot imagine data science. In this process, data is examined to transform it into a meaningful aspect.

«Oldest ‹Older   201 – 312 of 312   Newer› Newest»