maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MSKINS-127) For all http://maven.apache.org/ pages it take 2 minutes to see content in China
Date Sun, 08 May 2016 21:41:12 GMT

    [ https://issues.apache.org/jira/browse/MSKINS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275755#comment-15275755
] 

Hervé Boutemy commented on MSKINS-127:
--------------------------------------

yes, we can do it if we cannot fix
but I expect we can fix: it just needs a little time and precise testing
current skin with ITs as Jira issue are not really practical to know what use case represents
each issue
I'll try it during the week if nobody beats me at it: we have the general code:
{code:javascript}        (function() {
            var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
            s.type = 'text/javascript';
            s.async = true;
            s.src = ' ... js url ...';
            t.parentNode.insertBefore(s, t);
        })();{code}

> For all http://maven.apache.org/ pages it take 2 minutes to see content in China
> --------------------------------------------------------------------------------
>
>                 Key: MSKINS-127
>                 URL: https://issues.apache.org/jira/browse/MSKINS-127
>             Project: Maven Skins
>          Issue Type: Bug
>          Components: Fluido Skin
>         Environment: a device behind Great Firewall or google.com not available
>            Reporter: Paul Verest
>
> For all http://maven.apache.org/ pages it take 2 minutes to see content, because page
rendeing depends on getting to files
> - https://www.google.com/coop/cse/brand
> - https://apis.google.com/js/plusone.js
> see http://stackoverflow.com/questions/36959899/maven-site-google-issue-in-china
> As far as I know, it is generally good practice to put all script in the end of body,
so that page is visible even if any 3rd party server fail the moment the page is requests.
> This is major bug as it affects many users, the reason it was not filed before is English
skill, motivation and where to raise.
> Please review all page for 3rd party loads to insure that generated site will work even
on PC without Internet access.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message