class bbn\Cdn documentation in

(Static) content delivery system through requests using filesystem and internal DB for libraries.

Generates in a cache directory a javascript or CSS file based on the request received.

The cdn class will be using all the classes in bbn\Cdn in order to treat a request URL, and return the appropriate content.

Request can have the following forms:

Example

$cdn = new \bbn\Cdn($_SERVER['REQUEST_URI']); $cdn->process(); if ( $cdn->check() ){ $cdn->output(); }

(Static) content delivery system through requests using filesystem and internal DB for libraries. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.