pathcache 6.x-1.4
| Download | Size | md5 hash |
|---|---|---|
| pathcache-6.x-1.4.tar.gz | 9.59 KB | b6601076ca1e81a4184640d44e244249 |
| pathcache-6.x-1.4.zip | 11 KB | 1c501de6c8fa6a58678541ebdc1e3089 |
Release notes
#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
| Download | Size | md5 hash |
|---|---|---|
| pathcache-6.x-1.3.tar.gz | 9.54 KB | 28b43769b3afd4a9ced83cc3faa193a9 |
| pathcache-6.x-1.3.zip | 10.96 KB | b188c817528bdf7ad29cc096b5b297c3 |
Release notes
#521258 by Roger Lopez: use REQUIREMENT_WARNING
#533892 by neclimdul: TTL of cached values
pathcache 5.x-1.0
| Download | Size | md5 hash |
|---|---|---|
| pathcache-5.x-1.0.tar.gz | 9.09 KB | 2c9123abe2da3afef2cce569003fc654 |
| pathcache-5.x-1.0.zip | 10.55 KB | ef86d9d8a9173a4ba56bd61e9ad1d457 |
Release notes
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.2
| Download | Size | md5 hash |
|---|---|---|
| pathcache-6.x-1.2.tar.gz | 9.38 KB | 34fc97c95f82cdae7ddb86e8344a18e2 |
| pathcache-6.x-1.2.zip | 10.82 KB | 237f89e07e2b37739b92ea54dbf5cdd7 |
Release notes
Fix function naming in .install file.
pathcache 6.x-1.1
| Download | Size | md5 hash |
|---|---|---|
| pathcache-6.x-1.1.tar.gz | 9.39 KB | e654fb124257c6b4876e349bd00f9dac |
| pathcache-6.x-1.1.zip | 10.82 KB | d578b06314453d94070fb8012f6bb317 |
Release notes
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).
pathcache 6.x-1.0
| Download | Size | md5 hash |
|---|---|---|
| pathcache-6.x-1.0.tar.gz | 8.91 KB | ab35baf0c60b297622a283f7603f7552 |
| pathcache-6.x-1.0.zip | 10.38 KB | 43d140dda5d2f6fe13955ca5501485e9 |
Release notes
Initial release.