Performance Optimisation

From Car and Driving Wiki
Jump to navigation Jump to search

For most purposes, you should find that the webservice, helper page and video player respond quickly enough to allow them to be incorporated in your website well.

However, you can eliminate runtime calls to the webservice or helper page altogether by downloading all of our data in one hit (e.g. weekly) and keeping your own locally cached copy. Use the webservice function GetReviewsFromManufacturerCategoryAndType, set the manufacturer to an empty string, and howmany to a large number (e.g. 999999). The query will take a minute or so to run, so it is best done by an offline data loading process, perhaps once a week to ensure the local data is kept up to date.