First off: this module is great and the implementation has been very stable so far.

This -minor- bug is as follows. If you set up 2 domains, and page caching is active for anonymous users, and you then change the Site mission for a domain (/admin/build/domain/conf/2), the page cache is not automatically refreshed. Anonymous users will still see the old Site mission.

The moment the admin makes another change (for example, editing a block admin/build/block/configure/block/), the page cache does get cleaned and anonymous users see the new block and Site mission.

I believe there's an API hook to call to 'drop cache' or 'refresh cache' function; this could be added to the domain/conf implementation.

Comments

agentrickard’s picture

cache_clear_all().

I suppose we have to fire that whenever Domain Conf forms are saved. Or you could just note that it happens. I wonder what happens when the default form is saved?

And the answer is that system_settings_form_submit() clears the cache, so I suppose we should, too, on both configuration and batch editing forms.

agentrickard’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new4.24 KB

Nice catch. Committed. Could use a backport.

I also clear the cache on similar operations, like adding new aliases, editing themes, and the like.

agentrickard’s picture

Status: Patch (to be ported) » Fixed
StatusFileSize
new4.29 KB

Committed to D5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.