Monday, December 11, 2006

Yohannan's blog - caching

The ability to cache data is very important to performance...especially if you have a large number of categories, products, and/or orders. I recommend creating a directory ABOVE the publicly accessible document root and giving it proper permissions for the server read/write. Creating it ABOVE the document root ensures that would-be hackers cannot access it with their web browser. Set your cache directory settings to this filepath to keep it from being stored in the "/tmp" folder which will cause issues.

Once you have the cache folder created and settings configured TURN ON THE CACHE FEATURES. This is especially effective with the category box!

The Page Cache contribution was created for those stores that have so many contributions installed it would be nearly impossible to optimize the code. The correct answer is to not bloat the store with contributions that are not needed...but if you find yourself in that position then Page Cache may be for you. I use the Page Cache contribution as a last resort...not as a first line choice.

Technorati Profile

Yohannan's Test blog post

This is a test post from Yohannan.

In 1997, the Institute of Medicine and Food and Nutrition Board began to establish the Dietary Reference Intakes (DRIs) for a number of nutrients. DRIs replace and expand on the past 50 years of periodic updates and revisions of the Recommended Dietary Allowances (RDAs). The DRIs represent a new approach to providing quantitative estimates of nutrient intakes for use in a variety of settings. They differ in amounts and age categories from the 1989 RDAs and, along with the RDA category, include three new categories of reference values. The Interactive Healthy Eating Index uses the RDA category for nutrient intake analysis. Currently, there are DRIs for the minerals related to bone health; folate and other B vitamins; antioxidants and related compounds; and iron and zinc.

This version of the Interactive Healthy Eating Index has been updated to reflect the DRIs for calcium, phosphorus, magnesium, thiamin, riboflavin, niacin, folate, vitamin B6, vitamin B12, vitamin A, vitamin C, vitamin E, iron, zinc and selenium. For all nutrients except calcium, the RDA is used for a particular gender/age category; for calcium the Adequate Intake (AI) is used. The 1989 Recommended Energy Allowance (REA) for food energy is used in this version and will be updated when the DRI for food energy becomes available.

This is a test post from Yohannan.