Skip to content

Add support for Fastly (default for Adobe Commerce on Cloud projects) #205

Open
@aadmathijssen

Description

@aadmathijssen

Issue Brief

The latest version of the Tweakwise plugin does not support personal merchandising for Adobe commerce on Cloud projects, as these projects use Fastly instead of Varnish.

Environment

  • PHP Version: irrelevant
  • Magento Version: Adobe Commerce hosted on Cloud
  • Tweakwise Version: 7.x
  • Tweakwise Export Version: irrelevant
  • Magento Deploy Mode: irrelevant
  • Third party modules: irrelevant

Details

The \Tweakwise\Magento2Tweakwise\Helper\Cache::isVarnishEnabled method checks whether the value of the system/full_page_cache/caching_application configuration settings is equal to \Magento\PageCache\Model\Config::VARNISH (2).

However, even though Fastly is based on Varnish, it uses a different value: \Fastly\Cdn\Model\Config::FASTLY (42).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions