So I have tried to gzip some of my javascript files (primarily
prototype.js) and using that instead of the normal. However for some
reason, it's not working. What I used to have and is working is:

$javascript->link(array('prototype', 'scriptaculous.js?load=effects',
'fade_appear'), false);

Then I gzipped prototype.js and changed it to this:

$javascript->link(array('prototype.js.gz', 'scriptaculous.js?
load=effects', 'fade_appear'), false);

That didn't work, so I also tried:

$javascript->link(array('/js/prototype.js.gz', 'scriptaculous.js?
load=effects', 'fade_appear'), false);

And that doesn't work as well. So I guess what I am wondering is how
do I go about using gzipped javascript files?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to