April 01, 2010
Caching Views 2 pages in Drupal
This Lullabot article on caching is great.
Here are a few links to discussion on caching in Views
I've turned time-based caching on for the research site map to see if that will decrease rendering time. Here are some numbers:
Loading the map of research sites (all 630+ sites) from home on a MacBook with safari, a (mediocre) wireless connection and the view caching set to none gives a LOADING TIME OF 16.87 seconds.
Loading the map of research sites (all 630+ sites) from home on a MacBook with safari (I emptied browser cache and restarted), a (mediocre) wireless connection and the view caching set to time-status with the time options both at 1 hour, gives a LOADING TIME OF 16.7 seconds. Although I cleared the browser cache and ran the test again and the load time was less than 4 seconds.
Since the page cache really sped things up, I'm going to leave it. Still need to make a decision on caching the query and/or html and the length of time store these caches.
This forum touches on a few points. Might be worth posting a question of about time constraints here.
For now, I've set a 6 day cache because I'm not making changes to research sites right now.
Posted by kkwaiser at April 1, 2010 09:36 AM