Ticket #72 (closed defect: fixed)
Googleapi js call causes pages to hang before render
| Reported by: | datapharmer | Owned by: | ofer |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.5 - Beta wordpress plugin |
| Component: | WordPress Plugin | Version: | 0.3.8 |
| Keywords: | google, api, javascript, jquery, automatic | Cc: |
Description
Tonight I experienced trouble with translated pages loading. All html was loaded but nothing was rendered. Upon investigation I realized that the googleapis domain was not responding to requests, and as a result the page would not render since there was no ajax response.
Disabling "Allow automatic translation of pages (currently using Google Translate)" corrected this problem. There needs to be either a response timeout or a change in ordering to prevent a 3rd party failure from causing a complete failure of the page load. The current event results in a blank page with just <title> loading.
Change History
comment:2 Changed 2 years ago by datapharmer
Hi, Push to footer was already selected. I don't know what else may be in my template that would cause it - it may be due to a caching plugin which might be combining some javascript and putting the combined files in the header. I can look into it some more, but am okay with just disabling automatic translation and republishing manually for now, but wanted to make sure this was a known issue.

Hi,
I know we should eventually move to async loading of this, which will solve this issue, however for now - can you move transposh to the footer? should prevent the no-rendering