Disabling Drupal 7 cache on specific pages

Posted on 28/01/2016

There are certain cases in which caching is not desirable because it can cause conflicts with the way certain pages work.

The best example is Captcha module, which automatically disables the page/block cache wherever it is displayed. This is necessary because Captcha output should never be cached. The code has to be regenerated for every visitor, in order to be unique and prevent bots from automatic submissions.

Write HTML faster

Posted on 24/01/2016

Unless you are working with a templating engine that streamlines HTML, chances are that you have to write pure HTML often - from testing snippets and forms to full layouts. This is because most of the template engines will not change the way you write HTML itself, but will just limit the amount of logic you have available.