# |
Aug 6th 2008, 14:20 |
_psychic_ |
try it |
# |
Aug 6th 2008, 14:19 |
Noise98 |
nope |
# |
Aug 6th 2008, 14:19 |
_psychic_ |
Noise98: did you use Bake? |
# |
Aug 6th 2008, 14:19 |
teknoid |
jaredhoyt: i think that extension is enabled by default in apache |
# |
Aug 6th 2008, 14:19 |
Jonah |
http://debuggable.com/posts/a-miracle-called-gzip:480f4dd5-696c-48c4-8d7c-444ccbdd56cb |
# |
Aug 6th 2008, 14:19 |
Noise98 |
Jonah: html yes |
# |
Aug 6th 2008, 14:19 |
Noise98 |
? |
# |
Aug 6th 2008, 14:19 |
Noise98 |
what am I doing wrong with my HABTM ^ |
# |
Aug 6th 2008, 14:19 |
Jonah |
most phpbb forums are. look at the footer, it says "page is GZiped" |
# |
Aug 6th 2008, 14:19 |
Noise98 |
http://bin.cakephp.org/view/623844475 |
# |
Aug 6th 2008, 14:19 |
jaredhoyt |
Noise98: that's true |
# |
Aug 6th 2008, 14:18 |
jaredhoyt |
does it? i honestly don't know... haven't started optimizing this project yet |
# |
Aug 6th 2008, 14:18 |
Jonah |
most websites are gziped |
# |
Aug 6th 2008, 14:18 |
Noise98 |
it depend if u are looking for speed or for bandwidth saving |
# |
Aug 6th 2008, 14:18 |
Jonah |
jaredhoyt: i think it still helps tho |
# |
Aug 6th 2008, 14:18 |
jaredhoyt |
s/add/remove |
# |
Aug 6th 2008, 14:18 |
jaredhoyt |
i've never done it, but i'd imagine the time it takes to compress on the fly wouldn't compensate for download time |
# |
Aug 6th 2008, 14:17 |
Jonah |
Noise98: oh... |
# |
Aug 6th 2008, 14:17 |
jaredhoyt |
does the compression really add much loadtime w/o caching enabled/ |
# |
Aug 6th 2008, 14:17 |
Noise98 |
if he compress them |
# |
Aug 6th 2008, 14:17 |
Noise98 |
that's right |
# |
Aug 6th 2008, 14:17 |
teknoid |
true, plus compressing already compressed stuff (by apache) won't do any good |
# |
Aug 6th 2008, 14:17 |
Noise98 |
nothing to do with cakephp |
# |
Aug 6th 2008, 14:17 |
Noise98 |
if u want them to be gzip u have to enable some settings into apache |
# |
Aug 6th 2008, 14:16 |
Noise98 |
they are directly provide by apache |
# |
Aug 6th 2008, 14:16 |
Noise98 |
your css and js files are not provide by php |
# |
Aug 6th 2008, 14:16 |
Jonah |
right now I have @ob_start ('ob_gzhandler'); in the bootstrap and it works for the main html but i was wondering if there was a better way |
# |
Aug 6th 2008, 14:15 |
teknoid |
Jonah: i imagine that's an apache thing, enabling mod gzip |
# |
Aug 6th 2008, 14:15 |
Jonah |
why? |
# |
Aug 6th 2008, 14:15 |
Jonah |
the time it takes to download the pages |
# |
Aug 6th 2008, 14:14 |
Jonah |
yes |
# |
Aug 6th 2008, 14:14 |
teknoid |
Jonah: do you mean to speed up downloads? |
# |
Aug 6th 2008, 14:13 |
Jonah |
how can I get cakephp to gzip stuff? id like it to gzip css, js and the main html |
# |
Aug 6th 2008, 14:12 |
achew22 |
I've done it a lot too |
# |
Aug 6th 2008, 14:12 |
achew22 |
lol |
# |
Aug 6th 2008, 14:12 |
jaredhoyt |
forget everytime |
# |
Aug 6th 2008, 14:12 |
jaredhoyt |
i've probably done 10 ~ today |
# |
Aug 6th 2008, 14:11 |
achew22 |
) |
# |
Aug 6th 2008, 14:11 |
jaredhoyt |
gj achew22 |
# |
Aug 6th 2008, 14:11 |
robsox128 |
jaredhoyt: Thanks for the link, I think maybe I should read through the whole Cookbook again, I'm clearly not getting things. :) |
# |
Aug 6th 2008, 14:11 |
achew22 |
that doesn't instill confidence.. |