[drupal-devel] Cache sid

Gabor Hojtsy gabor at hojtsy.hu
Tue Mar 1 18:09:26 UTC 2005


> I can reproduce this on Drupal HEAD.  Both page_cache_get() and 
> page_cache_set() use the "$base_url . request_uri()" construct.
> So while this isn't right, it shouldn't impact performance.
> 
> What errors do you get?
> 
> Maybe we should use url($_GET['q']) instead?  We'd have to move url() to 
> bootstrap.inc though.  Test and patch?

$GET['q'] is not the only part of the URL having some say in what is 
displayed, just think of paged results.

Goba



More information about the drupal-devel mailing list