Skip to content

Browser language detection stops homepage from being cached with W3 Total Cache #294

@mzwolenik

Description

@mzwolenik

Prerequisites

  • This is not a usage question (Those should be directed to the community supported forum, unless this is a question about Polylang Pro in which case you should use the helpdesk).
  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest master branch of Polylang and the latest WordPress version.
  • This bug happens with only Polylang plugin active
  • This bug happens with a default WordPress theme active
  • I can reproduce this bug consistently

Steps to reproduce the issue

  1. Activate W3 Total Cache page caching
  2. Activate Polylang browser language detection
  3. Refresh homepage multiple times

Expected behavior and actual behavior

Default homepage never gets cached. All other pages are cached as expected. I've seen similar issue with WP Rocket but it's now closed. Is there any known workaround to keep homepage cached with browser detection activated?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions