Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Avoid calling realpath on urls #328

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Avoid calling realpath on urls #328

wants to merge 2 commits into from

Conversation

mlocati
Copy link
Contributor

@mlocati mlocati commented Sep 2, 2016

Calling realpath on URLs like //fonts.googleapis.com/css takes ages on Windows (in the order of 15/20 seconds): let's avoid that...

Calling realpath on URLs like //fonts.googleapis.com/css takes ages on
Windows: let's avoid that...
@MrKarlDilkington
Copy link

After applying this fix, there was a dramatic improvement in performance.

In an app that uses this library, load times went from on average 25 seconds to 1-2 seconds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants