Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @herbkarim

    Thank you for your inquiry and I am happy to assist you with this.
    The cookie-free domain is a domain which doesn’t send a command to users’ browser to store cookies from the website.
    Usually, websites have static information, which may never change. Images, CSS files, JavaScript and etc.
    Because these files are usually the same and they remain unchanged, there is no need for the user’s browser to save their cookie. Thus, by making some changes to the domain, you can lower the requests sent to the server from the user.
    If you have WordPress set up on https://www.domain.com, then all your static files (images, CSS, js) are served along with cookies set on the domain.
    The basic solution is the create a subdomain of your main domain (or register a whole new domain just for it) and serve your static files from that domain.
    If using a subdomain for CDN functionality, there is a setting in Performance>CDN>Set cookie domain to “herbalkarim.com/” that helps prevent new users from sending cookies in requests to the CDN subdomain.
    You can also check this article for more details.
    Thank you!

    Thread Starter Toko Herbal Karim Jogja

    (@herbkarim)

    saya pernah mengikuti instruksi di atas tapi tidak terselesaikan

    Error
    SQL query:

    UPDATE wp_posts SET post_content = REPLACE(post_content,’www.herbalkarim.com/wp-content/’,’static.herbalkarim.com/’)
    MySQL said: Documentation

    #1046 – No database selected

    di phpMyAdmin, bukan wp_post milik saya wplx_post apakah ini mirip?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @herbkarim

    Thank you for the feedback. This is not a W3 Total Cache functionality so you should get in touch with your hosting provider or CDN provider for more assistance.
    Also, after checking the gtmetix report, you should consider focusing on the things that are slowing your website. and Use cookie-free domain is not one of them.
    The files that are causing your website load time to increase are:
    https://herbalkarim.com/wp-json/contact-form-7/v1/contact-forms/211/refill 3.31s
    https://herbalkarim.com/?wc-ajax=get_refreshed_fragments 3.18s
    https://herbalkarim.com/wp-json/wishlist/v1/products 6.76s
    You should consider disabling those if not needed so please reach out to the support of the plugins using the mentioned files for assistance, as this cannot be solved with W3 Total Cache.
    Thank you!

    Thread Starter Toko Herbal Karim Jogja

    (@herbkarim)

    please, I update my questions

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @herbkarim

    Thank you for the info. I can see that you are also using Cloudflare.
    As per this topic on their support channel, it’s not possible to avoid cookies. Please reach the Cloudflare support for more assistance with this.
    Thank you!

    Thread Starter Toko Herbal Karim Jogja

    (@herbkarim)

    Okay thanks,
    Apakah ada cara untuk menyelesaikan masalah :
    https://herbalkarim.com/wp-json/wishlist/v1/products 6.76s

    Jika solusi diterapkan apa efeknya?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @herbkarim
    Sorry, I am using google translate so I apologize if I am interpreting your questions wrong.
    https://herbalkarim.com/wp-json/wishlist/v1/products 6.76s means is related to the e-commerce plugin (I can see that you are using Woocommerce) So you should contact the Woocommerce support and inquire about this and check the functionality and how you can avoid increased loading time.
    In some cases, if you are on shared hosting, you may want to consider upgrading your hosting plan.
    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Use cookie-free domains’ is closed to new replies.