Posted by anarcat on March 20, 2012 at 7:10pm
2 followers
Jump to:
| Project: | OpenID Provider |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I have stumbled upon this issue when, if page caching is active, a new users will not be able to use their openid right away until the cache is flushed.
It would seem reasonable to flush the page cache when a user is created, or at least the cache for that user.
Comments
#1
Seems like this is fairly simple to do: http://www.seo-expert-blog.com/blog/more-on-clearing-drupals-page-cache
Example, to clear the frontpage:
$front = variable_get('site_frontpage','node');$url = url($front, NULL, NULL, TRUE);
cache_clear_all($url, 'cache_page');
$url = preg_replace("%$front$%", '', $url);
cache_clear_all($url, 'cache_page', FALSE);
#2
#3
Automatically closed -- issue fixed for 2 weeks with no activity.