This small module is very useful if you want to disable cache just for specific page url.

For example, you have a custom page that needed to be dynamically updated. While caching it will have a great performance boost but if the anonymous user viewing the specific site then most likely it will get the cached content.

Utilizing this small module can prevent drupal for caching those specific page by configuring the module to skip cache for certain page url.

Module project page :

The other method for custom module is by invoking hook_init and put the following code in the hook_init :

yourmodule_name_init() {
 $GLOBALS['conf']['cache'] = FALSE;