Skip to content
This repository was archived by the owner on Apr 22, 2021. It is now read-only.
This repository was archived by the owner on Apr 22, 2021. It is now read-only.

Performance Improvement on Original Domains #60

@vkathirvel

Description

@vkathirvel

Would it make sense to not process the plugin if the request was for the original domain? I notice that canonicals are inserted for original domain too - meaning the plugin is processing original domain pages as well.

private function __construct()
{
    $this->initAttributes();

// Adding this could skip original domain processing, not?
if($this->domain == $this->originalDomain) {
return;
}
$this->hookActions();
$this->hookFilters();
$this->hookShortcodes();

    new MultipleDomainSettings($this);
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions