# |
Aug 6th 2008, 14:26 |
Jonah |
model::save is depreciated ?? |
# |
Aug 6th 2008, 14:26 |
Noise98 |
the saveMulti function in model.php got code for saving and updating habtm |
# |
Aug 6th 2008, 14:25 |
Noise98 |
and early in 1.2 |
# |
Aug 6th 2008, 14:25 |
Noise98 |
but I don't get it, the habtm saving was working in 1.1 |
# |
Aug 6th 2008, 14:25 |
teknoid |
Noise98: it is :) |
# |
Aug 6th 2008, 14:20 |
_psychic_ |
Noise98: i'd try it - it'll do it all up for you |
# |
Aug 6th 2008, 14:20 |
Jonah |
it says cake is not |
# |
Aug 6th 2008, 14:20 |
Jonah |
get the Yslow extension for firefox. it tells you what is gziped |
# |
Aug 6th 2008, 14:20 |
teknoid |
Jonah: there's also mod_deflate, but i haven't tried it |
# |
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? |