darkywarkey Posted May 31, 2009 Share Posted May 31, 2009 Currently I'm using a script that I created which creates a list of pages, like most any search you see on the web. On each page it takes a page number variable and offsets the results, but essentially it queries the database every page you click on. My question is this: Seems like there might be a more efficient way of paging, if there is how would a better method be? Or is this essentially how most websites do it? ??? Thanks! Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted June 1, 2009 Share Posted June 1, 2009 That's what most websites do. If you are worried about performance, learn/read about caching. Quote Link to comment Share on other sites More sharing options...
darkywarkey Posted June 1, 2009 Author Share Posted June 1, 2009 That's what most websites do. If you are worried about performance, learn/read about caching. Didn't even think about that. Good idea. Any good newbie cache guides for apache servers? I'm reading their http://httpd.apache.org/docs/2.2/caching.html documentation but some of it is still a bit beyond my limited server experience. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.