To disable cache in Drupal, follow these steps:
This will disable cache for both pages and blocks on your Drupal site. Note that disabling cache can significantly impact the performance of your site, especially if you have a lot of traffic. You should only disable cache if you need to make changes to your site that are not being reflected when cache is enabled.
Alternatively, you can also disable cache by adding the following line of code to your site's settings.php file:
$conf['cache'] = 0;
This will globally disable caching for your site.