Homec4science

Always use absolute URIs for static resources

Authored by epriestley <git@epriestley.com> on Oct 16 2012, 18:44.

Description

Always use absolute URIs for static resources

Summary: I think this is simpler and better than making them conditional. In properly configured installs this should have no impact (they already use a CDN URI). In not-quite-properly configured installs this will add a trivial, highly-compressible number of bytes to the source. In all cases we have less code.

Test Plan: Loaded some pages, everything worked.

Reviewers: btrahan, vrana

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3709

Details

Committed
epriestley <git@epriestley.com>Oct 16 2012, 18:44
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1a63938b334c: Further improve various Phame UI things
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb9f84ebba8bd: Always use absolute URIs for static resources (authored by epriestley <git@epriestley.com>).Oct 16 2012, 18:44