pathcache 7.x-1.0

Bug fixes
New features
Unsupported

Initial stable release after 3 years of beta testing

pathcache 7.x-1.1-beta1

Unsupported

First beta release of 7.x-1.x branch.

Given several big sites use this in production, it might be safe to create a stable release directly, but I wanted to give this some time to settle. And if there are no new bug reports, create the stable release.

pathcache 6.x-1.4

Bug fixes
Unsupported

#791830 by drewish: only do requirements check for presence of URL aliases at runtime
#711920 by jlboht: enable static caching

This release adds two lines to path.inc. The lines are shown below in case you want to put them in manually instead of re-patching.

// Not in the static variable. Try cache.
$cid = $path . $path_language;
$cache = cache_get($cid, 'cache_pathdst');
if ($cache) {
+ $map[$path_language][$path] = $cache->data;
return $cache->data;
}
// Get the most fitting result falling back with alias without language.
$alias = db_result(db_query("SELECT dst FROM {url_alias} WHERE src = '%s' AND language IN('%s', '') ORDER BY language DESC", $path, $path_language));
// Store in static variable in case we encounter the same system path again
// during this request.
$map[$path_language][$path] = $alias;
// Store in cache.
cache_set($cid, $alias, 'cache_pathdst', time() + variable_get('pathcache_expire', 43200)); // 12 hours
return $alias;
}
// When action is 'source' we are given a URL alias and need to return the
// Drupal path.
// Check $no_src for this $path in case we've already determined that there

pathcache 6.x-1.3

Bug fixes
Unsupported

#521258 by Roger Lopez: use REQUIREMENT_WARNING
#533892 by neclimdul: TTL of cached values

pathcache 5.x-1.0

Unsupported

Backport of pathcache module to Drupal 5.

Language support and support for hook_flush_caches() was removed, as these did not exist in Drupal 5.

#521258 (use REQUIREMENT_WARNING) is incorporated.

#533892 (TTL of cached values) is incorporated.

pathcache 6.x-1.1

New features
Unsupported

The .install file now creates cache_pathsrc and cach_pathdst database tables, so that the module is compatible with memcache.db.inc (cache writes are done to these tables, and when memcache fails and memcache.db.inc falls back to the database, it expects these tables to be there).

Subscribe with RSS Subscribe to Releases for Path Cache