This documentation and answers will help you get started and master the way you use PageCDN for better content delivery.
PageCDN is a Content Delivery Network focused on accelerating website layouts. PageCDN does the job in an innovative way to ensure that the pages load in the least time possible.
A common website layout uses three types of content:
- Opensource Content. This consists of opensource libraries like jQuery, frameworks like Vue or React, fonts like Google Fonts or Icon Fonts, etc.
- Commercial Content. This consists of theme assets like CSS and JS files that come preloaded with the WordPress or Bootstrap themes you use. These files are used on hundreds of websites.
- Private Content. This is the content that is specific to a single website and consists of custom CSS and JS files, user uploads like images, downloadable files, etc.
Public CDNs are based on the concept that if the popular Opensource content is loaded through a common CDN, there is a better chance of an opensource file being already available in user's browser cache when visiting a website.
However, Public CDNs usually do not cover commercial content like theme and plugin files that are sometimes shared by millions of websites. Also, using Public CDNs can sometimes have a tiny performance penalty.
PageCDN extends this concept even further to provide a single platform to enable the cache re-use across websites to the maximum extent, while at the same time serving all the resources on a single CDN to better avail HTTP/2 benefits and to avoid excessive connection overhead. At PageCDN, the content is divided as follows:
- Public CDN. Public CDN is totally free and provides all popular opensource libraries, WordPress and bootstrap themes, fonts, patterns, image libraries, etc.
- Private CDN. Private CDN consists of shared or private content of websites and content creators. This consists of website specific files and other commercial content (like commercial theme assets) that is used across thousands of websites.
The Commercial Content we discussed earlier is maintained by content creators (theme or CMS developers) through private or shared repos created on Private CDN and distributed through their own means. Such commercial content is not available through Public API. Content creators can mix their Commercial Content with the Private Content of a website and efficiently deliver it for their clients through PageCDN. More on this is available with an example on resellers page.
With this approach, PageCDN has the potential to provide far superior performance compared to other CDNs. PageCDN offers many more features that you can read here.