For example <front> doesn't work if your front page happens to have a path alias.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Morahan created an issue. See original summary.

John Morahan’s picture

Status: Active » Needs review
znerol’s picture

Issue tags: +Needs tests

Thanks! Could you please add steps to reproduce?

John Morahan’s picture

Well, what I did was (approximately):
- Set the home page to a path that has an alias (in my case, the path was a Page Manager page, but that shouldn't matter)
- Configure authcache to 'Cache only the listed pages' and enter <front> as the only page to cache
- Enable authcache_debug, visit the homepage and observe the message "Excluded: Caching disabled by path list of page ruleset #1"

If you need more detailed steps I can revisit this later.

znerol’s picture

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

Looked into this, I can reproduce with the steps given in #4. In my tests it worked fine without any modification if the path-alias was used in the rule-set instead of <front>.

In my opinion this work-around is acceptable and therefore tentatively marking this issue as a won't fix.