Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to setup CDN to server JS bundle #529

Open
masudhossain opened this issue Dec 4, 2024 · 1 comment
Open

How to setup CDN to server JS bundle #529

masudhossain opened this issue Dec 4, 2024 · 1 comment

Comments

@masudhossain
Copy link

We're looking to use cloudflare to setup a CDN to server just our js bundle (large file, users around the world), but haven't seen any guide on how to do this for shakapacker.

Desired behavior: Serve our bundle js files from a CDN like cloudflare.

Setup environment:

  • Ruby version: ruby "3.0.3"
  • Rails version: gem 'rails', '~> 6.1', '>= 6.1.7.3'
  • Shakapacker version: gem 'shakapacker', '~> 7.0.2'
@justin808
Copy link
Member

This is an optional doc suggestion. It’s not specific to Shakapacker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants