On Aug 10, 4:34 am, "Derek Westfall" <[EMAIL PROTECTED]> wrote:
> What speed tricks are developers using for sites with large number of
> content objects?
>
> I have a lot of content objects -- around 10,000 I think. Most of them will
> be paginated through with their teasers and thumbnail images showing.

I'm assuming you are only calling objectids in your query, and that
you are only bringing back the records you need to render.

When you make a call to a large number of records and you render them
as straight out views you basically cause a rush on the database as it
goes to grab each record individually, cache within the broker and
then display.  If you turned off webskin caching, you should still see
a marked improvement in the performance of the rule as subsequent
calls are taken from memory.  This ain't much good if this is a big
record set and these objects are seen infrequently.

You can actually call a special pagination tag that allows you to
execute webskins from a query rather than through fourq.  So you
populate the query with the columns that will be used in the webskin.
It then uses the getwebskin stobject argument to bypass the record
lookup.

I can't remember of the top of my head the tag call... but let me have
a dig around and see what I can do for you.

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to