Project

General

Profile

Actions

Bug #10853

closed

Don't check for subdomain mapping redirect on main site

Added by Boone Gorges over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Performance
Target version:
Start date:
2018-12-21
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

The function cac_redirect_subdomain_to_mapped_domain() causes a database query for every visit to the site by an unauthenticated user. Can we cut down on this? At the very least, could there be a manual bail condition when blog_id = 1?

Actions

Also available in: Atom PDF