Looking for a reliable and affordable Domain Name Registrar? Look no further than Dotster. And for a limited time, we're able to offer our visitors a buy one domain name, get one free promotion. Click here
to take advantage of this offer.
Uh oh - you just took a bucketful of honeymoon photos and towards the end of the trip your friend borrows the camera and accidentally formats the memory card. Ahhhhh!!! Don't freak out yet. Check out Disk Doctor and get $5 off as a CWD visitor. It just may save the day.
What is caching? A cache is a repository that saves a static version of a page, and loads it up when a user requests it. Websites, as well as browsers, use caching to reduce page load times and increase performance. By loading a static version of a page, there is all kinds of resource usage that can be saved - from database calls to loading images. Basically, a cached page is a saved version of a page that is loaded up when a user requests it. Caching is especially useful for pages that don't change often. If a page doesn't change, there's no point for a website or browser to reload and recreate every aspect of a page, making calls to databases, etc. to grab content, every single time a user visits the page. Without caching, a server's performance is impacted, bandwidth usage increases, and web page load times slow to a crawl.
With Drupal, you have several caching options at your disposal, especially if you have Drupal 6.x or later installed. The default Drupal installation comes with cache settings that you can access at /admin/settings/performance. Our recommended settings are as follows:
The main thing to note here is the minimum cache lifetime. By setting the cache to 1 hour, you are storing pages in the cache for one hour before refreshing them. This means if there's an update to a page an anonymous user will see it within the hour.
There's also a clear cached data button that you can use to clear out all the caches at once. This is especially useful if you made a change to the site and are not seeing it, and are not sure where it may have been cached.
That brings us to an important distinction:
This means if you're logged in, page caching will not be performed. This means page caching primarily benefits sites with a large amount of anonymous (not logged in) users. If your site is primarily affected by traffic from logged in users, you'll want to consider some of the caching modules below, in addition to Drupal's default caching options.
If you're working on your site layout, or anything to do with CSS, graphics, etc., ie. you're developing or designing your website, you'll want to turn caching off so you can see the changes immediately.
In addition to Drupal's default cache settings, there are quite a few useful modules you should consider to increase your website's performance:
Caching modules typically rely on cron calls (scheduled commands performed on your database on a regular basis). If you're not familiar with cron jobs, you'll probably want to download and install Drupal's PoorMansCron module.
All Content © 2005 - 2010 Contract Web Development, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Powered by Drupal
3 days 8 hours ago
3 days 8 hours ago
3 days 8 hours ago
3 days 8 hours ago
3 days 20 hours ago