CDN Proxy with Cookies

CDN Proxy with Cookies

Shopify Partner
9 0 2

Are we able to use a proxy CDN based on the template pages? I am aware of using App Proxy but we need to pass cookies to the proxy service.

Reply 1 (1)

Shopify Partner
592 48 80

A Content Delivery Network (CDN) is a service that allows you to distribute your website's static assets (such as images, CSS, and JavaScript files) across a network of servers, so that they can be delivered to your visitors more quickly and efficiently. A proxy CDN is a type of CDN that acts as an intermediary between your website and its visitors, routing requests through the CDN's servers and potentially modifying the content before it is delivered to the visitor.

To use a proxy CDN on a Shopify store, you would need to set up your CDN to act as a reverse proxy for your Shopify site. This would involve configuring the CDN to forward requests for specific pages or resources to your Shopify site, and then modifying the response before it is returned to the visitor.

In order to pass cookies to the proxy service, you would need to configure the CDN to forward the cookies from the visitor's browser to your Shopify site, and then include them in the requests it makes to your site. This can be done using the headers fields of the HTTP request.

It's important to note that this is an advanced setup and requires knowledge of web development, network administration and security. And also Shopify doesn't support passing Cookies to external service, so you will have to find a way around it.

It's recommended to consult with a developer who has experience in working with Shopify and reverse proxy configurations to implement this feature on your site.



Thank you for reading our post!

Check out who we are: EcomGraduates

Boost your sales with our new theme: Ecomify