Cookie-Aware Page Cache

Component type

module

Maintenance status

Development status

Downloads

1864

Component created

Component changed

Cookie-Aware Page Cache module extends Drupal core's default database cache to key page cache entries by cookie in addition to URL.

You may need this if you are preparing different markup for pages depending on the value of a user's browser cookie, and the default database cache is the only caching mechanism available to you. For example, you may be displaying local information on a user's favorite store location, which is kept in a cookie. Or you might be using Context Breakpoint module, which uses a cookie to pass information about the user's screen size to use as a condition in the Context system.

You can specify more than one cookie to take into account when querying the page cache. However, you should only select cookies with limited sets of possible values. The performance benefits of page caching decrease as the number of possible cookie value combinations increases.

Reuse Cached 404s

Component type

module

Maintenance status

Development status

Downloads

777

Component created

Component changed

Drupal has a 404 caching problem.

Drupal's page cache is a fantastic and simple way to improve performance in production. If an anonymous user goes to http://yoursite.com/somepage twice, the second page load is a lot faster because Drupal doesn't spend time re-rendering it; it simply serves it from the cache.

Force Summary

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Makes the summary part of any 'Text area with a summary' field required and visible on the node edit form by default, and sets a character limit on it.

er, why?

My own use case is on a site with lots of user-generated content which appears in views, using the 'summary or trimmed' display mode. Most users don't seem to notice the 'Edit summary' link above the body field, which means the views end up displaying an often unhelpful trim of the full post. This module forces users to actually summarize what they are posting.

DemoSandboxModule

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This is a demo sandbox module for our screen cast

PHP Filter Lock

Component type

module

Maintenance status

Development status

Downloads

539

Component created

Component changed

PHP Filter Lock is a security module for Drupal. It disables the ability to edit text fields using the PHP input format until that text format is changed to another format.

In other words, it blocks users from creating new PHP content in text fields but still permits existing PHP content to load from the database.

Note that the PHP input filter must be named "PHP code" or this module will not work. A small patch is included that extends the core filter module to allow for specific input filter detection.