It would be useful if there was a way of extending the default rulesets, so that e.g. modules could automatically add their custom paths to the default paths list, and so that individual sites could hardcode the rulesets.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

This adds hook_authcache_default_pagecaching_alter().

znerol’s picture

I feel that the variable authcache_pagecaching contains way to much information. In order to provide a better API it should be reworked into ctools exportables or something similar before adding new features on top of it.

On the other hand, there is already a good API for contrib/custom code in order to influence the caching policy.

Depending on your use-case it might be worthwhile to either use features/strongarm/fe_variable to track the contents of the variable for a given site, or to implement hook_authcache_request_exclude, hook_authcache_account_exclude for general purpose integration/contrib code.

znerol’s picture

Status: Needs review » Closed (won't fix)

Closing this, see answer above.