Find Jobs
Hire Freelancers

CDN Problem Loading .jsx Files from AWS CloudFront

$30-250 AUD

Completed
Posted about 4 years ago

$30-250 AUD

Paid on delivery
I am having a problem when we load the static assets (images, js, css, jsx) for our website from an S3/CloudFront CDN on AWS. Specifically, the jsx files don't download at all. These files load perfectly when the static assets are loaded from our web server. When we attempt to load the static assets from and AWS/S3/CloudFront CDN all the assets load perfectly with the exception of the jsx files which the browser fails to locate. For some reason the path to the jsx files get a .js extension appended to them so they appear with a .[login to view URL] extension. e.g. Instead of loading [login to view URL] as it should, it tries to load the file as [login to view URL] which simply does not exist. I can't workout why the .js extension is being appended to the jsx files when they are accessed from the CDN. If you think you know why this is happening and have a solution for me submit your proposal and I will send you the full details. Thanks.
Project ID: 23690691

About the project

3 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, We have our files hosted on CloudFront. Also, we use react bundle. You need to change the configuration in your S3. Since CloudFront relies on S3 configuration for setting extensions and resonse types. I can help you better if you provide details of the hosted jsx and related files with your Cloudfront configuration Regards, Deepak
$140 AUD in 7 days
5.0 (21 reviews)
5.8
5.8
3 freelancers are bidding on average $127 AUD for this job
User Avatar
I would suggest using a build process for this as jsx files are not recognized anyway in a production environment I can help set that up for you
$100 AUD in 7 days
5.0 (11 reviews)
5.1
5.1

About the client

Flag of AUSTRALIA
South Yarra, Australia
5.0
2
Payment method verified
Member since Apr 5, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.