Skip to content

Remove 6 second delay from login screen(s) #4

Description

@blobaugh

The login screen takes a significant amount of time to load. This is due to it making a request to login.windows.net whenever the page loads. That request is taking 6 seconds to perform. It is not strictly necessary.

Here is the function that is running: https://github.com/WebDevStudios/aad-first-party-sso-wordpress/blob/master/Settings.php#L144

It should be updated to cache the json output in a transient for a while and look there. It currently attempts to load a file. Maybe that was a caching attempt but it will never work.

Should be an easy refactor.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions