User-Agent Cache Bypass

Component ID

1418344

Component name

User-Agent Cache Bypass

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

920

Component created

Component changed

Component body

What is User-Agent Cache Bypass

The User-Agent Cache Bypass module allows specific user-agents to bypass Drupal's page caching system, always generating a fresh copy of the page.

Use Cases

  1. Setting a Googlebot user-agent will allow Google to always see fresh content no matter what. As an added bonus, by simply crawling your content, Google will be freshening up your page cache.
  2. Setting your minimum cache lifetime relatively high and regularly running a crawler using a custom user-agent, you can ensure that users always load a page from the cache and that the cache is always up-to-date.
  3. Use a browser plugin to modify your user-agent to always see fresh content on your site.