how to use cookie-free domains in magento? [closed] The Next CEO of Stack OverflowMagento 2 OptimizationHow to use cookie-free domains in magento 2Magento Set New Cookie ValueMagento Cookie Value Not Sethow to disable external links in magento for seo perspective?how to add expires headers in magentoHow to add custom font as Magento base fontMagento cookie settings for subdomainHow to Use Session or Cookie in Magento 2.0Magento 2: How to use Cookie?Multi store with different domains, cookie store is causing problemHow to use cookie-free domains in magento 2

Reference request: Grassmannian and Plucker coordinates in type B, C, D

How to set page number in right side in chapter title page?

How to find image of a complex function with given constraints?

Does Germany produce more waste than the US?

Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?

Is it okay to majorly distort historical facts while writing a fiction story?

Spaces in which all closed sets are regular closed

Inexact numbers as keys in Association?

Decide between Polyglossia and Babel for LuaLaTeX in 2019

I dug holes for my pergola too wide

Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens

Expressing the idea of having a very busy time

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Physiological effects of huge anime eyes

Which one is the true statement?

Traduction de « Life is a roller coaster »

Is it convenient to ask the journal's editor for two additional days to complete a review?

How to use ReplaceAll on an expression that contains a rule

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Is it professional to write unrelated content in an almost-empty email?

Help! I cannot understand this game’s notations!

Are the names of these months realistic?

Where do students learn to solve polynomial equations these days?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico



how to use cookie-free domains in magento? [closed]



The Next CEO of Stack OverflowMagento 2 OptimizationHow to use cookie-free domains in magento 2Magento Set New Cookie ValueMagento Cookie Value Not Sethow to disable external links in magento for seo perspective?how to add expires headers in magentoHow to add custom font as Magento base fontMagento cookie settings for subdomainHow to Use Session or Cookie in Magento 2.0Magento 2: How to use Cookie?Multi store with different domains, cookie store is causing problemHow to use cookie-free domains in magento 2










2















I analyzed my website on Gtmetrix.com for optimization and the result was this:




There are 245 components that are not cookie-free:




http://mysite.com/media/css/dabf35e7cd79eb387a68eed1d5f3f925.css
http://mysite.com/media/css/38f74ae13bf9722265996c2842cba8a5.css
http://mysite.com/media/js/b5de567c1b6b9d971394b4d4887370a1.js
http://mysite.com/skin/frontend/fortis/default/images/logo.png
http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/01.png
http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/02.png
http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/03.png
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/01.jpg
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/02.jpg
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/03.jpg
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/04.jpg
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/01.png
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/02.png
http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/03.png
http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/paintbrush.png
http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/responsive.png
http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/menu.png
http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/03.png
http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/11.png
.
.
.



Serve static content from a different domain to avoid unnecessary
cookie traffic.




how to solve this?










share|improve this question













closed as off-topic by mbalparda, Keyul Shah, Marius, Mufaddal, Pronto Jul 24 '14 at 11:47


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – mbalparda, Keyul Shah, Marius, Mufaddal, Pronto
If this question can be reworded to fit the rules in the help center, please edit the question.




















    2















    I analyzed my website on Gtmetrix.com for optimization and the result was this:




    There are 245 components that are not cookie-free:




    http://mysite.com/media/css/dabf35e7cd79eb387a68eed1d5f3f925.css
    http://mysite.com/media/css/38f74ae13bf9722265996c2842cba8a5.css
    http://mysite.com/media/js/b5de567c1b6b9d971394b4d4887370a1.js
    http://mysite.com/skin/frontend/fortis/default/images/logo.png
    http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/01.png
    http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/02.png
    http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/03.png
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/01.jpg
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/02.jpg
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/03.jpg
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/04.jpg
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/01.png
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/02.png
    http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/03.png
    http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/paintbrush.png
    http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/responsive.png
    http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/menu.png
    http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/03.png
    http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/11.png
    .
    .
    .



    Serve static content from a different domain to avoid unnecessary
    cookie traffic.




    how to solve this?










    share|improve this question













    closed as off-topic by mbalparda, Keyul Shah, Marius, Mufaddal, Pronto Jul 24 '14 at 11:47


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – mbalparda, Keyul Shah, Marius, Mufaddal, Pronto
    If this question can be reworded to fit the rules in the help center, please edit the question.


















      2












      2








      2








      I analyzed my website on Gtmetrix.com for optimization and the result was this:




      There are 245 components that are not cookie-free:




      http://mysite.com/media/css/dabf35e7cd79eb387a68eed1d5f3f925.css
      http://mysite.com/media/css/38f74ae13bf9722265996c2842cba8a5.css
      http://mysite.com/media/js/b5de567c1b6b9d971394b4d4887370a1.js
      http://mysite.com/skin/frontend/fortis/default/images/logo.png
      http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/01.png
      http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/02.png
      http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/03.png
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/01.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/02.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/03.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/04.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/01.png
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/02.png
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/03.png
      http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/paintbrush.png
      http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/responsive.png
      http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/menu.png
      http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/03.png
      http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/11.png
      .
      .
      .



      Serve static content from a different domain to avoid unnecessary
      cookie traffic.




      how to solve this?










      share|improve this question














      I analyzed my website on Gtmetrix.com for optimization and the result was this:




      There are 245 components that are not cookie-free:




      http://mysite.com/media/css/dabf35e7cd79eb387a68eed1d5f3f925.css
      http://mysite.com/media/css/38f74ae13bf9722265996c2842cba8a5.css
      http://mysite.com/media/js/b5de567c1b6b9d971394b4d4887370a1.js
      http://mysite.com/skin/frontend/fortis/default/images/logo.png
      http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/01.png
      http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/02.png
      http://mysite.com/media/wysiwyg/infortis/fortis/menu/custom/03.png
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/01.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/02.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/03.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/04.jpg
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/01.png
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/02.png
      http://mysite.com/media/wysiwyg/infortis/fortis/slideshow/banner/03.png
      http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/paintbrush.png
      http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/responsive.png
      http://mysite.com/media/wysiwyg/infortis/fortis/icons/large/menu.png
      http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/03.png
      http://mysite.com/media/wysiwyg/infortis/fortis/custom/banners/11.png
      .
      .
      .



      Serve static content from a different domain to avoid unnecessary
      cookie traffic.




      how to solve this?







      php ce-1.8.1.0 css cookie html






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 24 '14 at 8:11









      Moh3nMoh3n

      53431134




      53431134




      closed as off-topic by mbalparda, Keyul Shah, Marius, Mufaddal, Pronto Jul 24 '14 at 11:47


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – mbalparda, Keyul Shah, Marius, Mufaddal, Pronto
      If this question can be reworded to fit the rules in the help center, please edit the question.







      closed as off-topic by mbalparda, Keyul Shah, Marius, Mufaddal, Pronto Jul 24 '14 at 11:47


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – mbalparda, Keyul Shah, Marius, Mufaddal, Pronto
      If this question can be reworded to fit the rules in the help center, please edit the question.




















          1 Answer
          1






          active

          oldest

          votes


















          5














          1. Configure another domain for skin and media

          2. check that the cookie domain is configured that way, that the cookies are not send along these domains

          3. Make sure, that you don't get a problem with the JS due to "same origin policy"

          UPDATE



          1. set the media, skin and js url to your new domain:

          System > Config > Web > Unsecure/Secure > Base Media URL
          System > Config > Web > Unsecure/Secure > Base Skin URL
          System > Config > Web > Unsecure/Secure > Base JavaScript URL



          1. Make sure the cookie settings are so, that the cookie is NOT sent to the subdomain:
            https://stackoverflow.com/a/23086139

          I assume this is the case if you DON'T set the domain - but maybe Magento is change this, so it sets the domain itself. If this is the case, you would either hack magento or use a www. subdomain for your shop.



          1. Make sure your JS still works and doesn't throw errors due to Same-Origin-Policy
            If this is the case, your JS doesn't work and you see the errors in your browsers console.





          share|improve this answer































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            1. Configure another domain for skin and media

            2. check that the cookie domain is configured that way, that the cookies are not send along these domains

            3. Make sure, that you don't get a problem with the JS due to "same origin policy"

            UPDATE



            1. set the media, skin and js url to your new domain:

            System > Config > Web > Unsecure/Secure > Base Media URL
            System > Config > Web > Unsecure/Secure > Base Skin URL
            System > Config > Web > Unsecure/Secure > Base JavaScript URL



            1. Make sure the cookie settings are so, that the cookie is NOT sent to the subdomain:
              https://stackoverflow.com/a/23086139

            I assume this is the case if you DON'T set the domain - but maybe Magento is change this, so it sets the domain itself. If this is the case, you would either hack magento or use a www. subdomain for your shop.



            1. Make sure your JS still works and doesn't throw errors due to Same-Origin-Policy
              If this is the case, your JS doesn't work and you see the errors in your browsers console.





            share|improve this answer





























              5














              1. Configure another domain for skin and media

              2. check that the cookie domain is configured that way, that the cookies are not send along these domains

              3. Make sure, that you don't get a problem with the JS due to "same origin policy"

              UPDATE



              1. set the media, skin and js url to your new domain:

              System > Config > Web > Unsecure/Secure > Base Media URL
              System > Config > Web > Unsecure/Secure > Base Skin URL
              System > Config > Web > Unsecure/Secure > Base JavaScript URL



              1. Make sure the cookie settings are so, that the cookie is NOT sent to the subdomain:
                https://stackoverflow.com/a/23086139

              I assume this is the case if you DON'T set the domain - but maybe Magento is change this, so it sets the domain itself. If this is the case, you would either hack magento or use a www. subdomain for your shop.



              1. Make sure your JS still works and doesn't throw errors due to Same-Origin-Policy
                If this is the case, your JS doesn't work and you see the errors in your browsers console.





              share|improve this answer



























                5












                5








                5







                1. Configure another domain for skin and media

                2. check that the cookie domain is configured that way, that the cookies are not send along these domains

                3. Make sure, that you don't get a problem with the JS due to "same origin policy"

                UPDATE



                1. set the media, skin and js url to your new domain:

                System > Config > Web > Unsecure/Secure > Base Media URL
                System > Config > Web > Unsecure/Secure > Base Skin URL
                System > Config > Web > Unsecure/Secure > Base JavaScript URL



                1. Make sure the cookie settings are so, that the cookie is NOT sent to the subdomain:
                  https://stackoverflow.com/a/23086139

                I assume this is the case if you DON'T set the domain - but maybe Magento is change this, so it sets the domain itself. If this is the case, you would either hack magento or use a www. subdomain for your shop.



                1. Make sure your JS still works and doesn't throw errors due to Same-Origin-Policy
                  If this is the case, your JS doesn't work and you see the errors in your browsers console.





                share|improve this answer















                1. Configure another domain for skin and media

                2. check that the cookie domain is configured that way, that the cookies are not send along these domains

                3. Make sure, that you don't get a problem with the JS due to "same origin policy"

                UPDATE



                1. set the media, skin and js url to your new domain:

                System > Config > Web > Unsecure/Secure > Base Media URL
                System > Config > Web > Unsecure/Secure > Base Skin URL
                System > Config > Web > Unsecure/Secure > Base JavaScript URL



                1. Make sure the cookie settings are so, that the cookie is NOT sent to the subdomain:
                  https://stackoverflow.com/a/23086139

                I assume this is the case if you DON'T set the domain - but maybe Magento is change this, so it sets the domain itself. If this is the case, you would either hack magento or use a www. subdomain for your shop.



                1. Make sure your JS still works and doesn't throw errors due to Same-Origin-Policy
                  If this is the case, your JS doesn't work and you see the errors in your browsers console.






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 29 '18 at 15:00

























                answered Jul 24 '14 at 9:07









                Fabian BlechschmidtFabian Blechschmidt

                33.5k764173




                33.5k764173













                    Popular posts from this blog

                    Sum ergo cogito? 1 nng

                    419 nièngy_Soadمي 19bal1.5o_g

                    Queiggey Chernihivv 9NnOo i Zw X QqKk LpB