Skip to main content
Remove IMO, because this has enough facts in it and is better than just an opinion.
Source Link
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

In my opinion, itIt is best to do minification server side for a few different reasons

  1. Future proofs in the event you change CDNs. Minification will always be on your side and you won't need to worry about that feature if you change CDNs.
  2. Ease of troubleshooting. If there are any issues with the minification you can control it on the server without having to involved CDN support.
  3. CDNs are designed, and architected, to deliver content, not necessarily optimize the content.

Also, I'd recommend only a single CDN provider. Multiple CDNs can over complicate things. Look at CloudFlare and their RocketLoader product. I'm not sure about price, though could be useful.

In my opinion, it is best to do minification server side for a few different reasons

  1. Future proofs in the event you change CDNs. Minification will always be on your side and you won't need to worry about that feature if you change CDNs.
  2. Ease of troubleshooting. If there are any issues with the minification you can control it on the server without having to involved CDN support.
  3. CDNs are designed, and architected, to deliver content, not necessarily optimize the content.

Also, I'd recommend only a single CDN provider. Multiple CDNs can over complicate things. Look at CloudFlare and their RocketLoader product. I'm not sure about price, though could be useful.

It is best to do minification server side for a few different reasons

  1. Future proofs in the event you change CDNs. Minification will always be on your side and you won't need to worry about that feature if you change CDNs.
  2. Ease of troubleshooting. If there are any issues with the minification you can control it on the server without having to involved CDN support.
  3. CDNs are designed, and architected, to deliver content, not necessarily optimize the content.

Also, I'd recommend only a single CDN provider. Multiple CDNs can over complicate things. Look at CloudFlare and their RocketLoader product. I'm not sure about price, though could be useful.

Post Migrated Here from stackoverflow.com (revisions)
Source Link
Gerg
Gerg

In my opinion, it is best to do minification server side for a few different reasons

  1. Future proofs in the event you change CDNs. Minification will always be on your side and you won't need to worry about that feature if you change CDNs.
  2. Ease of troubleshooting. If there are any issues with the minification you can control it on the server without having to involved CDN support.
  3. CDNs are designed, and architected, to deliver content, not necessarily optimize the content.

Also, I'd recommend only a single CDN provider. Multiple CDNs can over complicate things. Look at CloudFlare and their RocketLoader product. I'm not sure about price, though could be useful.