Views argument cache


This module provides an "Argument-based" cache plugin for Views. It should only be used with Views that take arguments.

Traditional cache plugins generate cache keys based on everything available during the Views build process. This makes it impossible to flush a cache for a View only for specific arguments.

Take this example..

We have two node types: School and Class. A class node has a node-reference field back to a school. When viewing a school node, we use a view to show all classes that are linked to that school. Before this module, the best cache plugin would be Views content cache, which allows us to clear the cache only when a certain node-type is added/updated. We would set the cache to flush whenever a class node was created. But, why empty every single school cache just because one class was created?

With this module, you can target the Views cache for a given view, display, and provided arguments. There is also an option in the plugin to specify the amount of arguments to use to generate the cache key. This is useful if a view takes multiple arguments, but you only want to clear the cache for say, the first one. For example, the view takes a nid and date argument. The view will be cached for each date you're viewing, but when some action takes place, you'll want to clear everything just for that given nid.



Clustered map powered by Drupal 7 and Geocluster

Server-side clustering for mapping in Drupal 7 based on Geohash: Geocluster increases performance of data-heavy map visualizations by clustering results on the server-side.

Client-side JavaScript libraries like Leaflet Markercluster enhance performance and readability of data-heavy maps by clustering points. But still, all data needs to be rendered by Drupal, transferred to the client and processed on a potentially slower end user device. By clustering data on the server-side, the load is shifted from the client to the server which allows displaying larger amounts of data in a performant way.

Read my Geocluster master thesis.


Geocluster relies on Geofield for the storing spatial data and Views for querying the data. Integration has been developed for the Leaflet, Views GeoJSON and Leaflet GeoJSON modules.

1. Install Geocluster and update existing content


Compressed Cache

Adds gzip compression to cache data. Especially useful for sites with large amounts of cache_form data.

1. Edit settings.php and add the following lines:

# Add this cache to the list of available cache implemntations
$conf['cache_backends'][] = 'sites/all/modules/compressed_cache/';

# Add cache bins that you want to compress
$conf['cache_class_cache_form'] = 'CompressedDatabaseCache';

Variables that suck less

Looking for new maintainer - contact beejeebus if you're interested!

This module provides more predictable, less site-eating behaviour around
Drupal's variable system.

The caching around the {variable} table in core is braindead. For many sites, a
large variable table plus relatively regular variable_set() / variable_del()
(drupal_cron_run(), ooops) calls can cause a site outage.


Friendly Cache Tags Fork

Adding a few choice commits to dixon_'s cache tags fork for D7!


The Edgecast module provides automatic purging (via nodeapi) and manual purging (list of URLs) of cached content from the Edgecast Content Delivery Network (CDN).

The admin screen requires setting the customer ID, the token (for authenticated requests), and the base path of the site cached by Edgecast.

Updates of a node will purge both the node/123 form of the node and the path alias.


Subscribe with RSS Subscribe to RSS - Performance and Scalability