<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Minim test</title> <!-- <link rel="stylesheet" href="css/block1.css"> <link rel="stylesheet" href="css/block2.css"> --> <?php require_once 'lib/compressor.php'; $comp = new Compressor('css', 'js', 'prod'); $comp->load_css(array('block1.css', 'block2')); ?> <!-- <script type="text/javascript" src="js/jquery-2.1.4.js"></script> <script type="text/javascript" src="js/script1.js"></script> <script type="text/javascript" src="js/script2.js"></script> --> <?php $comp->load_js(array('jquery-2.1.4.js', 'script1', 'script2')); ?> </head> <body>