Skip to main content

Questions tagged [cdn]

Filter by
Sorted by
Tagged with
0 votes
0 answers
51 views

Cloudflare's full html edge cache with Magento cookies bypass

We are trying to setup magento edge cache with cloudflare including html. The url route of bypassing cache on urls alone e.g. /customer, /admin, etc doesn't really work bcoz e.g. when a customer logs ...
raza19's user avatar
  • 23
0 votes
1 answer
38 views

Problem with cache when enabling/disabling extensions

I have a problem with probably caching when I install/enable new extensions which should add custom tabs to the product edit page it never does even when I disable modules with custom tabs on the ...
Mikheil's user avatar
0 votes
2 answers
553 views

Get Sku on list image phtml file

I am setting up a new site using 2.4.2 and need to use existing product images which are set up on a CDN, in the following formats: https://website-list.s3.amazonaws.com/xxxxxx.jpg https://website-...
rodolphesalis's user avatar
0 votes
1 answer
733 views

Magento 2 : Disable CDN

Is their any way we can disable cdn for media url in magento2 ? I am having issues in order confirmation email. In products it has cdn link for products images, not what i have added in media url in ...
devhs's user avatar
  • 527
0 votes
1 answer
149 views

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
1 answer
20 views

Merged Static Contents

Is it possible to generate merged static contents programmatically in magento2? There is issue with sync merged static contents in CDN, multi-server setup with load balancer.
ajay's user avatar
  • 35
0 votes
1 answer
611 views

Magento 2.3.5-p1 CDN Configuration Content Security Policy directive

I just configured cloudfront to have a CDN for static files and media, but there's a big problem. As soon as I entered the links to the CDN in the Magento 2 back office, no more CSS / JS / image files ...
Jimmy Labuche's user avatar
0 votes
0 answers
13 views

magento 1 use old cdn instead of new one

I have this in my settings: But site still using old path despite I cleared cache
Nikita Seliverstov's user avatar
2 votes
0 answers
321 views

How do I create a symlink?

We recently setup CDN for the static assets. As an old discussion on the github indicates, advanced JS bundling and CDN don't go together. What is happening is explained below. require.js is trying to ...
CodeForGood's user avatar
1 vote
0 answers
96 views

Exclude specific directory for take base_media_url value? (Tainted canvases may not be exported)

I configured a CDN on my Magento site, and on admin, I configured the base_static_url and the base_media_url with the CDN Url on Stores > Configuration > General > Web > Base URLs. These ...
Eliacim DAVILA - CENSERE's user avatar
2 votes
0 answers
176 views

Magento 2 config CDN for specific file type only

Magento 2 allow to add another url for static views file, but all static file types will be requested to this url. I want to some only file types be served using that url. Example *.js and *.css ...
Hieu Duong's user avatar
-1 votes
1 answer
171 views

What is CDN ? & how to setup CDN in magento 2?

How to setup CDN in Magento 2? How it benefits/improve site performance?
Hamendra Sunthwal's user avatar
0 votes
1 answer
194 views

How to implement Cloudways CDN on Magento2

I have a website which is hosted on Amazon AWS EC2 and Domain is on 123-reg, I have pointed domain via AMAZON Elastic IP, Please see attached image, Now i want to setup CDN only for static files. How ...
Kanika's user avatar
  • 171
2 votes
1 answer
1k views

How to direct include Vue.js <script> in Magento 2?

I want to use Vue.js in Magento 2 by the Direct Include , but, for some reason, the script doesn't call the content and then, the local Vue script doesn't work. I put the CDN in the header with the ...
alex-chama's user avatar
0 votes
2 answers
1k views

Magento 2: How to add external image url / CDN url for product images on category and product details pages?

I am using Magento 2.3.3. I need help to add CDN url only for product's images on category and product details pages. NOTE: Except product images, no images will come from CDN. Thanks in advance.
Suman Pradhan's user avatar
1 vote
1 answer
448 views

How CDN works in Magento 2?

I am aware about the CDN and configuring it into Magento 2 from system configuration. I just want to know how CDN works internally in magento codebase? As I am developing an module to upload the ...
Suman Singh's user avatar
  • 1,007
0 votes
0 answers
122 views

External (CDN) location images only for multiple domain stores

I have multiple stores on multiple domains (all single store magento installs) that use a lot of the same product images. I want to store all the images in a single location and let the different ...
JohnRP's user avatar
  • 1
2 votes
1 answer
1k views

How to use Magento 2.3 and Cloudfare CDN?

I'm currently trying out the Cloudflare CDN (free plan), but I didn't notice much in website performance. My server was having "server load" problems and it did stop, but It seems the website's ...
Tiago Costa's user avatar
0 votes
2 answers
2k views

CORS error - HTML and fonts not working properly with CloudFront CDN

I have been trying to get my magento store working with AWS CloudFront for static and media folders. I have one CloudFront distribution for each of the folders. Media files are working fine as well as ...
lucas's user avatar
  • 1
1 vote
1 answer
774 views

How to change font source url from local to CDN?

I have uploaded google fonts on the local server to a custom directory and it seems to work well so far except that the Ultimo theme I am using is picking the base URL to generate font URL path. ...
Zoya's user avatar
  • 481
0 votes
2 answers
176 views

Create new VPS save images and file download on magento

My sites very large size with image and file upload. So, I would like to setup as CDN from another my server2 VPS from current server1 VPS. That server will be storage images and files upload. I ...
the light's user avatar
  • 728
0 votes
1 answer
275 views

Pub folder html file: serving from nginx + CDN and CORS

In my pub/static folder I can see that most themes are serving HTML files. However, these are not specifically handled in the Nginx configuration file. When serving the full folder from CDN I get ...
Vincent Teyssier's user avatar
0 votes
0 answers
48 views

Magento 2: CDN Implement

I am using CDN in my website but strange thing is, it's create html file with .js not getting why this come https://abc-f88d.kxcdn.com/frontend/ab/custom/en_AU/Aalogics_CheckoutTooltip/template/group....
imtiazau's user avatar
  • 379
0 votes
1 answer
55 views

Magento 2: CDN Recommended for Magento 2, Community Edition

We were examining the possibility of adding a CDN service for our platforms on Magento 2. However, this possibility had already been adopted in the past and had created several problems with the ...
Francesco Terreni's user avatar
3 votes
0 answers
1k views

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
0 votes
2 answers
41 views

product image getting bigger as the gallery image number increases magento 2 and vise versa after adding bootstrap css (cdn)

product image getting bigger as the gallery image number increases magento 2 and vise Versa after adding bootstrap css (cdn) How to make the product image load in big size no matter what number is the ...
user71446's user avatar
1 vote
1 answer
783 views

Link CDN url to my product saved in magento 2

I want to Link CDN URL to my Product in magento. So basically all the Images for the product will be fetched using the Image URL Rather than saving it on Magento Website (Project) Is it possible to ...
Sairaj Gadekar's user avatar
0 votes
1 answer
3k views

NGINX cross control origin header added but font files still blocked by CORS policy

I have added the following headers to all the locations where my static content is mentioned in the Nginx conf file and it removes the CORS issue for all files except for font files such as woff2 or ...
Vincent Teyssier's user avatar
1 vote
1 answer
1k views

Magento 2 cdn issue for modal popup - KeyCdn

We uses KeyCdn to use cdn feature for magento 2. We use push zone for one of our website for testing. KeyCdn working fine except modal popup CORS issue. We are facing below error. Access to ...
Hiren Shah's user avatar
1 vote
1 answer
1k views

Sync google cloud storage with CDN to products images

I have a GCS folder with all my products images and now I've configured a CDN (always with Google) linked to this source. I would use these images for my Magento 2 store, specifically, I 'd like to be ...
Claudio Pomo's user avatar
1 vote
0 answers
156 views

Can't Upload Products images to DigitalOcean CDN?

I have Integrated DigitalOcean CDN with Magento2.2.7 version. I can get images from CDN successfully but when I am uploading product images then it is not uploading to CDN directly. Is required any ...
mansi's user avatar
  • 411
1 vote
0 answers
133 views

Disable image cdn stuck

I am having an issue with my Magento site and any assistance would be greatly appreciated. I recently migrated my Magento (1.4.1.1) site from Rackspace to a private server. The site was configured to ...
Stavros K's user avatar
1 vote
0 answers
631 views

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
0 answers
98 views

Magento 2 CDN cache

I have enabled CDN for my Magento 2 store static contents. But just would like to confirm, will there be any issue , if I run the below commands? Should I rebuild the CDN cache after running ...
Intellect Outsource's user avatar
1 vote
4 answers
12k views

Varnish purge is not working when clean the magento cache

We have successfully configured varnish in our magento website, it's working great. But the problem is varnish is not purging when we clear the cache either via admin panel or ssh command. We restart ...
SIBHI S's user avatar
  • 2,055
2 votes
2 answers
4k views

Is it possible to serve images from Magento 2 using a URL reference?

I want to serve images from an external CDN. This means: I don't want to store images on Magento's server or use its image cache I want to store image URLs in the database and use them to serve ...
Mohamad's user avatar
  • 123
1 vote
1 answer
1k views

Static Images Not Loading to CDN

According to GTmetrix, I have 18 static images on the homepage that are not loading via the CDN. I cannot figure out why. I've posted a screenshot of GTMetrix and the Magento backend. Any ideas?
st789's user avatar
  • 53
2 votes
0 answers
404 views

Cached Images not shown in Product Image (CDN at AWS S3)

I am stuck here. As i am using S3 bucket and S3FS-FUSE for syncing my /media folder with S3 bucket with rsync (cronjob). As rsync is very slow in syncing cached images with S3, thus it results in ...
kandav's user avatar
  • 31
0 votes
1 answer
312 views

cdn deploy static files magento - still deploying to "normal" directories

I'm trying to get my static files to be deployed in static.domain.com I have pointed my base url and secure base urls like below After I did - the website is trying to pull data from that location ...
John's user avatar
  • 1
2 votes
1 answer
842 views

Fastly CDN not refresh custom page

We have Fastly CDN configured in Website, and we have a custom page where we are displaying product listing. When admin makes changes in the product, it's reflecting correctly in front-end product ...
Akhilesh's user avatar
0 votes
1 answer
802 views

Help configure cloudflare for magento 1.9

I just signed up for cloudflare free plan and changed name servers to ones provided by cloudflare, and added page rules according to their recommendations. Currently my web settings look like this: ...
MployBy's user avatar
  • 125
1 vote
0 answers
511 views

Caching magento 2 (with CDN)

On a local server I have a test-instance of Magento 2, by running a new build on that server and then rsyncing the code to the production, I switch to a new without downtime. Recently I have added a ...
ikdekker's user avatar
1 vote
0 answers
40 views

Problems with loading data from subdomains

After rebuilding my Magento I realised that there is a few missing things like css(missing icons, characters) and some jQuery/Javascripts don't work. After a little bit of a research I found that (...
Rob D. A.'s user avatar
  • 867
1 vote
1 answer
668 views

Ajax error when using minified version of prototype.js

When using minified version of the PrototypeJS. (official version from Google CDN) ajax stops working. Console shows error: "TypeError: e is not a function" Is there a way to fix this? We really ...
MployBy's user avatar
  • 125
2 votes
1 answer
6k views

Magento 2 CORS & CDN

Using cdn77 which does not have the ability to set cross origin on that end so I need to update the htaccess of the store. I have updated the pub/static/.htaccess to include fonts setting Header ...
Eirik's user avatar
  • 2,073
1 vote
1 answer
70 views

Multistore multi-store on separate hosting servers

I have an existing store with multiple storefronts for US,UK,Chinese versions. Each storefront has a /en/, /uk/, /cn/. Now we have a problem with the website showing in china, due to the firewall, ...
Pavel's user avatar
  • 11
3 votes
2 answers
1k views

Getting cloudflare to work with magento 2

This is a complicated subject for me because I'm brand new to server work so I will do my best to explain what I have done and what the issue is. The bottom line is that as you can see below, my ...
DarthVegan's user avatar
0 votes
0 answers
45 views

Magento 2 : Ghost Images From Magento Website are Trying To Be Loaded

I used keycdn to setup a cdn for my magento 2 website before I moved over to cloudflare but I'm having a strange issue ever since I made switch and I'm not sure how to fix it. You can view this error ...
DarthVegan's user avatar
0 votes
1 answer
5k views

Where do I point my "Secure Base URL for Static View Files" for CDN in Magento 2?

Currently in Magento 2, deploying on live production we get the following: /static/version1490119662/frontend/sss/default/en_US/Ves_Megamenu/css/styles.css Sometimes not always in development and ...
TheBlackBenzKid's user avatar
0 votes
1 answer
184 views

Magento 1.9 - Not getting recenlty uploaded product import files(CSV) on AWS server with CDN

When I upload CSV files from Magento backend under System > Import/Export > Dataflow-Profiles > Upload File tabs, files are uploaded successfully but when check uploaded files under Run ...
Tabrez Ansari's user avatar