Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For example <front>
doesn't work if your front page happens to have a path alias.
Comments
Comment #2
John Morahan CreditAttribution: John Morahan at iO1 Limited commentedComment #3
znerol CreditAttribution: znerol commentedThanks! Could you please add steps to reproduce?
Comment #4
John Morahan CreditAttribution: John Morahan at iO1 Limited commentedWell, 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.
Comment #5
znerol CreditAttribution: znerol commentedLooked 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.