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

Avoid calling realpath on urls#328

Open
mlocati wants to merge 2 commits intooyejorge:masterfrom
mlocati:avoid-calling-realpath-on-urls
Open

Avoid calling realpath on urls#328
mlocati wants to merge 2 commits intooyejorge:masterfrom
mlocati:avoid-calling-realpath-on-urls

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