Skip to content

jasteele12/Tinifier-Concrete5-Optimiser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A method of speeding up your concrete5 site. Note that tinifier is still a beta version, and to use on production sites with care.

Installation instructions-
1) download tinifier
2) move view.php to the root/libraries directory of your site
3) move tiny.php to the root/helpers directory of your site.
4) enjoy!
If you are having javascript issues, copy tiny-js.php to root/helpers  and rename to tiny.php. Also, javascript with a class of nocombine will be ignored.
Debug  Instructions
1) create a new user that I can login in as with a name of say debugj
2) replace line 775 of the view.php file - currently
if(!$cp->canWrite() && !$c->isSystemPage()){
with 
$u = new User();
if($u->getUserName()=="debugj"{
3) private message me through c5 at http://www.concrete5.org/profile/-/view/27444/ the login details to the concrete5 backend and ftp

this will ensure that I can take a look at your site, but no one else will be able to see tinifier.