Page 1 of 1

[SOLVED]Paginating with partial page caching

Posted: Tue Mar 15, 2011 6:47 am
by divedj
Pagination stuck in page cache.

Hello,

I am building on a photo website. To keep pages in a loadable size I need to limit the displayed images per page. In generall no problem but since we had already problems with serverload etc. we also need to cache partial site content to reduce db access and php requests on the server. Both tasks by itself are not a real problem but soon as we start enabling the sitecache the paginating doesn't work anymore.
I am wondering if anybody got an idea to use a sitecache without loosing pagination.

Thanks for having a look

Re: Paginating with partial page caching

Posted: Sat Mar 19, 2011 10:36 pm
by dgreenhouse
Here's an interesting thread from 2008 on Stackoverflow...

http://stackoverflow.com/questions/1094 ... w-to-solve

Re: Paginating with partial page caching

Posted: Sun Mar 20, 2011 1:51 am
by Christopher
You might want to look at Zend_Cache.

Re: Paginating with partial page caching

Posted: Sun Mar 20, 2011 6:10 am
by divedj
Thank guys,
just solved the problem by rewriting my paginated file to filename-pageNo which works fine as cached file for me.