Skip to main content

Questions tagged [cloudfront-cdn]

Denotes questions related to Amazon CloudFront Content Delivery Network.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers

Magento 2.X: HTML files blocked by CORS if using Cloudfront and no Varnish hit

I have Magento 2.3.2 with nginx backend, SSL only, and proxypass to Varnish. I have configured 2 distributions in my cloudfront CDN to serve media and static files. To handle the CORS issues I have ...
Vincent Teyssier's user avatar
2 votes
0 answers

magento 2 cloudfront xhr html template files not loading

I have created an Amazon CloudFront distribution and updated CloudFront URL to pub/static and pub/media URLs to be fetched from CloudFront. JS, CSS and Images are working fine with CloudFront but xhr ...
Gulshan Maurya's user avatar
1 vote
0 answers

Magento2: Remove cache part from media url when using remote S3 storage

I migrated Magento 2 (version 2.4.6 deployed via Helm chart on Kubernetes) media folder to an AWS S3 bucket following the instructions from this documentation:
Soron's user avatar
  • 21
1 vote
1 answer

Magento 2 and Cloudfront as Full Page Cache

I am using Magento 2.3.6 and I am currently in the research phase to use something interchangeably with Varnish as a Full Page Cache. Due to the fact that we use the AWS architecture, we are ...
Krzysztof Niemiec's user avatar
1 vote
0 answers

Cloudfront not configuring Magento 2 CORS Policy error

I am getting error No 'Access-Control-Allow-Origin' on Magento 2 website.Although i add Header set Access-Control-Allow-Origin '*'.But still its not enable it. enter image description here
Anees's user avatar
  • 634
1 vote
0 answers

CloudFront like reverse proxy instead Varnish

I know that CloudFront is CDN, not reverse proxy, but if I understand correctly now is possible to use CloudFront to serve everything behind it. I found few links, and seems like it is possible. For ...
CoyoteKG's user avatar
1 vote
0 answers

Magento2: Aws CloudFront Product Image cache issue

I have integrated Aws CloudFront in our Magento 2 site. Product image not showing in our site. How to solve product cache issue. When I used CloudFront CDN URL. All images stored in the S3 bucket so ...
Masud Shaikh's user avatar
  • 1,189
1 vote
0 answers

Magento 2 static content folder sync

I have multiple EC2 servers running magento 2.2.5 application. I am using Cloudfront CDN for pub/media serving and the source is s3 bucket.Also I have a cron at every 1 minute that sync pub/media to ...
Rahul Sharma's user avatar
1 vote
1 answer

Magento 2.1.9, Apache/2.4.10 (Debian) - The header "Cache-Control: private" is adding to all my static files and images

We have a Magento 2.1.9 installation on a Debian Jessie server. It is configured to be connected with Cloudfront CDN for media and static files. The problem is that all the files that are served to ...
George A.B.'s user avatar
1 vote
1 answer

Trying to get CloudFront to work with Magento 2

My problem is that I upload all my products using the import function on Magento, it is easier to upload products in bulk using a CSV file in this way. I have a field for images, and I upload all my ...
shaun's user avatar
  • 31
0 votes
0 answers

AWS cloudfront integration issue

I have setup the AWS CloudFront cdn on my magento dev instance. Everything is working correctly but html and json files are not loading from cdn. I am getting CORS issue Please help me if you know ...
Amiyo Ghosh's user avatar
0 votes
1 answer

Magento 2 How to Setup (Amazon CloudFront CDN) Alternative Domain Name in Magento 2

How to setup Alternative Domain Name in CDN setup Using AWS(Amazon)?
Mark Philips's user avatar
0 votes
0 answers

Magento 2 .Woff blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Have a Magento 2.3 on Nginx. Trying to set up Cloudfront for /pub/static/ on subdomain like Base URL for Static View Files is Getting error ...
Olga Bautina's user avatar
0 votes
1 answer

Magento 2 - Error the specified key does not exist on Amazon aws cdn

We have created an account in amazon Aws. We have replace the secure base url for static and media files with the domain name that is shown in the AWS distribution. The site is not showing ...
Developer Account's user avatar
0 votes
1 answer

css not loaded using CDN

The Problem is not loaded stylesheet because its MIME type, "text/html", is not "text/css". We are using cdn on aws. I added to below line on apache server. AddType text/css .css AddType text/...
user avatar