CodeCanyon

Dynamic CSS & JS Minifier

  • Has been a member for 1-2 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • Australia
SportTipsWorld says

WIll keep an eye on this one , thanks

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
mariogm21 says

You have javascript version?

2 years ago
Author
Default-user sheikhwaqas replied

I am working on the JavaScript version of this script. I shall upload it as soon as its finished. Thanks for showing your interest.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
mariogm21 says

I’ll be on the lookout because I need

Thank you

2 years ago
Author
Default-user sheikhwaqas replied

I shall inform you as soon as the item is available.

2 years ago
Author
Default-user sheikhwaqas replied

Hi,

I have completed the JavaScript version and sent an update for review. As soon as Envato reviewers approve the item, it will be available for purchase.

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
Thecodingdude says

There is a free version I think of this (from google I think) what does this do, that the free version does not?

2 years ago
Author
Default-user sheikhwaqas replied

I indeed checked google before creating this. The links I found so far are used to minify your CSS and you have to create a compressed version file and put the minified code there and link it to your page.

However, what this script does is it combines all the original CSS files, minifies it and compress it using PHP ’s ZLib library and gives 1 Single output without disturbing your original CSS Files.

This way you can edit your CSS files in the normal way while your output will be combined, minified and compressed.

I hope that answers your question.

2 years ago
Thecodingdude Thecodingdude replied

Hello: http://code.google.com/p/minify/

That does the same thing if I am not mistaken.

2 years ago
Author
Default-user sheikhwaqas replied

Yes I know this script already. There is difference between my script and this script which is that my script outputs the buffer while this script creates a minified version and saves it on your hosting and the implementation isn’t that easy. You need to know a bit of coding to implement this script.

My script is extremely easy to implement and it creates the output on runtime which also saves your hosting space.

I hope this answers your concern about my script.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
JeffT says

This is indeed a much different script than Google’s. The implementation and ease of use is a lot better. Nice script…

2 years ago
Author
Default-user sheikhwaqas replied

Thanks Jeff for your comments!

I have also uploaded a JavaScript compression and minifier version. Just waiting for the reviewers to get through that script :).

2 years ago
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
YouMa says

Hm,

I did not see the source of your files but it looks (as some said above) similar to googles minify… a few questions I have regarding your scripts:

1) How about Expires or Cache-Control Headers or ETags? Does your script set them? 2) Not sure if this was mentioned above, but the file saving on the server in googles script is for caching? Wouldn’t that be a good option for your script? 3) I like the “groups” feature in googles script, so instead of writing a very long url to the js/css file with every file in the URI , you just make a single parameter calling the group and in the groupconfig file you specify the files you want to combine/minify, would this possibly be an option for an update?

what I don’t like about googles script is the (in my eyes) very bloated structure (many many files, even a “lib” folder and so on…), so I would be interested in a slimmer version that does the same =)...

2 years ago
Author
Default-user sheikhwaqas replied

Hi,

This Script does have Cache-Control & Expires Header. This script also caches the output and delivers a cached output to the user rather than fetching the source every time from the server.

Regarding the groups feature, I haven’t implemented it for the reason I wanted to keep the script in 1 file and the implementation as easy so that even a totally non-technical person shouldn’t have any problem configuring and implementing the script.

It is indeed a good feature. I shall definitely look into it and will post it as an update when its done.

Thanks for your suggestion. Appreciate it.

2 years ago
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
YouMa says

Sounds great, I’m thinking about a purchase right now! Because what I don’t like about the google minify script is its size and numer of files… I see through now but it’s “cluttered” with way to much files, so a one or 2 file solution would be great, especially if it has the same (or nearly the same) features…

2 years ago
  • Has been a member for 2-3 years
  • Bought between 50 and 99 items
pleiadene says
Purchased

Your script strips out background images from lists, any way to fix this?

.menu li .drop { padding-right:21px; background:url(“images/menu/drop.png”) no-repeat right 8px; } .menu li:hover .drop { padding-right:21px; background:url(“images/menu/drop.png”) no-repeat right 7px; }

when using your script it doesn’t display the image.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 50 and 99 items
pleiadene says
Purchased

false alert, works fine

2 years ago
Author
Default-user sheikhwaqas replied

Thanks for clearing that out. You got me worried :)

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
khalmans says
Purchased

I tried your script with zen cart on Bluehost server and it is not working you can see it here http://www.loseweightdubai.com/ page is loading with images but without style

Any idea what is wrong…..

Thankshttp://codecanyon.net/images/smileys/crying.png

2 years ago
Author
Default-user sheikhwaqas replied

Hi,

Thanks for purchasing my script.

I just checked the said website and it seems there’s a permission error. Did you try changing the permissions of includes/templates/classic/css directory in your website root. Because what I see from your website is the PHP Script is getting a 403 Permission Denied error. Try changing the directory permissions to 775 with all its files. Let me know if that resolves the problem.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
khalmans says
Purchased

Hi,

Thanks for your reply…its solved Changing permission did not work. I nstead i created a new directory in the root and placed all files in it…Its working now :)

Cheers

Khaled

2 years ago
Author
Default-user sheikhwaqas replied

Hi,

I am glad it has started working.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
khalmans says
Purchased

For those interested in using it on zencart they need to edit .htacess file which is in include directory to allow php script otherwise it wont work

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 1 and 9 items
  • Romania
mitonisign says
Purchased

hi there … is not woking with Jquery 1.4 your loadJd script minify the js but is not working. can u try and tell me if on your comp is worked ?

thanks

1 year ago
Author
Default-user sheikhwaqas replied

yes it does work. I have re-verified. Could you please tell me the site URL where you are implementing so that I may take a look at it.

I checked it with the jQuery library.

1 year ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 1 and 9 items
  • Romania
mitonisign says
Purchased

i used on localhost right now … with what library u tried? minified or normal version ?

thanks

1 year ago
Author
Default-user sheikhwaqas replied

I tried both.

Works with minified and the full version.

1 year ago
Author
Default-user sheikhwaqas replied

if you are checking on localhost, please make sure you have the php ZLib library installed and enabled.

1 year ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 1 and 9 users
sebastiansulinski says
Purchased

Nice work – many thanks.

One thing to point out however – it doesn’t seem to like javascript comments such as:

// comment goes here

or hash started (#)

Once I’ve removed comments – everything seem to work fine.

Overall – very well done!

1 year ago
Author
Default-user sheikhwaqas replied

Hi Sebastian,

Thanks for liking my script. It does remove // comments but it doesn’t remove the # hash comments that is true :).

I shall definitely make these improvements to my script.

Thanks again for your comments.

1 year ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Sweden
pooya3d says

Hi,

I have a question and a suggestion:

Q: can zlib compression provide any advantages when the gzip compression is already active for css and js files? my web server already gzip these files, are they compatible?

S: what about minifying html files on they fly feature?

thanks…

1 year ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 50 and 99 items
  • Referred between 1 and 9 users
eaflash says
Purchased

The script does not work with comments with //. Any improvement till now??

8 months ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
BlueDevil85 says
Purchased

Script is not working really well… I need to load 30 Js Files, so it would be a great improvement. But there are just some JS-files working .. and honestly i dont want to work through all 30 scripts and find the differences… any fixes for that?

2 months ago

by
by
by
by
by