cancel
Showing results for 
Search instead for 
Did you mean: 

Change merged js folder

SOLVED

Change merged js folder

The possibility to define a subdomain for the /js folder is pretty much useless if js files are being merged since they are stored in /media. Since catalog images are stored here aswell, most resources will still be loaded from the same source. Wouldn't it make more sense to store merged js files somewhere else?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Change merged js folder

Hi,

 

 

You can do next things:

 

1. Setup subdomains on your server which server static data(js, media and etc) from the same folder as main domain.

2. Change domain names for static data in magento admin panel.

3. Use pagespeed to enable domain sharding and set aliases for subdomains like media1, media2 and etc.

4. Setup cdn(cloudflare/cloudfront/etc) for static data.

 

Kind Regards,
Art Malkovich - Onilab

View solution in original post

2 REPLIES 2

Re: Change merged js folder

Hi,

 

 

You can do next things:

 

1. Setup subdomains on your server which server static data(js, media and etc) from the same folder as main domain.

2. Change domain names for static data in magento admin panel.

3. Use pagespeed to enable domain sharding and set aliases for subdomains like media1, media2 and etc.

4. Setup cdn(cloudflare/cloudfront/etc) for static data.

 

Kind Regards,
Art Malkovich - Onilab

Re: Change merged js folder

Please provide more details how it will work. Steps are not clear.