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
[SOLVED]Paginating with partial page caching
Moderator: General Moderators
[SOLVED]Paginating with partial page caching
Last edited by divedj on Sun Mar 20, 2011 2:19 pm, edited 1 time in total.
-
dgreenhouse
- Forum Newbie
- Posts: 20
- Joined: Tue Mar 10, 2009 5:13 am
Re: Paginating with partial page caching
Here's an interesting thread from 2008 on Stackoverflow...
http://stackoverflow.com/questions/1094 ... w-to-solve
http://stackoverflow.com/questions/1094 ... w-to-solve
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Paginating with partial page caching
Thank guys,
just solved the problem by rewriting my paginated file to filename-pageNo which works fine as cached file for me.
just solved the problem by rewriting my paginated file to filename-pageNo which works fine as cached file for me.