Improve the real or perceived speed of the site, or monitor performance metrics.

OpenTracker

opentracker_beta3.png

This module is intended as an API module, to simplify integration of a Drupal web site with an OpenTracker BitTorrent tra

Aegir feeds

This is a very basic module that provides feeds integration with Aegir.

Debugger

This module allows you to profile your Drupal application without external PHP extension required.
Step by step code analyser with profiler summary.

S3 Auto Pushing

Amazon_S3_Online_Service-resized200.gif

Module helps pushing static files to S3 bucket automatically. Required CDN module installed.

Jettison

Jettison unwanted CSS and JavaScript files!

This module provides a hook-based mechanism for getting rid of unwanted CSS and JS files. Simply declare which files you want deleted, and this will take care of removing them.

There's also a nice administration interface that can be used for simple cases.

What is it good for?

Sometimes a module adds CSS or JS that you don't want (or don't want to show up on non-admin themes). Use Jettison to get rid of them.

Occasionally, modules put their CSS/JS on every page when it should really only be on a few isolated pages. A jettison hook can be used to detect the conditions and then remove strategically.

Examples

Say we have a module called Example, and we want to remove the foo.js that some other module adds. Here's how to accomplish this in Jettison's API:

function example_preprocess_page(&$vars) {
  $icky_js = drupal_get_path('module', 'foo') . '/foo.js';
  jettison_js($icky_js, 'module');
}

Or to remove a CSS file from some offending theme (yes, this would be an edge case), we can do this:

function example_preprocess_page(&$vars) {
  $ugly_css = drupal_get_path('theme', 'ugly') . '/foo.css';
  jettison_css($ugly_css, 'theme');
}

If your needs are more sophisticated than a simple removal, you might want to look into the following API functions:

Variable Cleanup

Your variable table can get bloated under three circumstances:

Pages

Subscribe with RSS Subscribe to RSS - Performance