Thanks, I found the problem. I'm using the 
Cache::read('PostsController-index-archives'); in another method which 
doesn't limit results, I use that function for my archives page. However the 
latest 5 articles uses that same cache and if the cache is set, it doesn't 
execute the query wich has the limit of 5. To fix it, i had to give it it's 
own cache. I feel really stupid right now >_>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to