Generic CDN


CDN (Content Delivery Network) is a web service used for global content delivery. A CDN provider hosts many servers located in many different geographical locations. When a resource is requested, it will be served to the client from the closest location, ensuring best transfer speeds. When you integrate your OpenCart web store with a CDN, your content gets copied on all the CDN servers of that provider around the world. Therefore, when a visitor tries to access your web store, content is delivered from the nearest server geographically located to the visitor instead of your hosting server which may be on the other part of the globe. This makes your web store load faster and improves overall speed.

Generic CDN


Modern CDN providers allow you to configure the so called pull zones, which means that if a resource is not present on their servers, they will automatically "pull" the content from your site when it is requested. This is a much more efficient and flexible way to synchronize your site's resources with the CDN servers. Popular solutions are provided by Amazon with their CloudFront service and MaxCDN, however any CDN service which can operate in "pull mode" will work with NitroPack.

In order to tell NitroPack that you have configured a CDN you just paste your CDN URL in the Generic CDN URL field. Make sure that there is an "/" at the end of the URL that you put here. It is also recommented to remove the http(s): part from the beginning. An example of a valid value is:


NoteEach CDN pull zone that you create gets an unique URL. This URL is what you need to set in NitroPack, not the URL of the service that you are using. For example is NOT valid. A valid CDN link from MaxCDN looks like this

Ignored routes

If you have pages where you do not want the resources to be served from the configured CDN you can list their routes in the Ignored Routes section. Each route should be on a separate line. For example if you do not want to have CDN for the product/special and manufacturer/info routes, add the following: