AudioJungle

How to avoid a white page during browsing a wp theme

484 posts
  • Has been a member for 2-3 years
  • Contributed a Blog Post
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Germany
  • Referred between 10 and 49 users
radykal says

Hi,

I notice a white page for a short time when browsing through a wp theme. I checked other wp themes and they dont have this “issue”. Someone told me that this can be fixed with CSS or php, I dont know. I already google it, but only found the “Blank screen of death” issue.

So how can I avoid that the page goes white for a short time when requesting a new page in a wp theme?

4 months ago via ThemeForest |
1705 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Community Moderator
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Australia
  • Referred between 200 and 499 users
dtbaker says

Sounds to me like it’s trying to request a big javascript file or something from a different domain.

eg: if you’re request google jquery your browser has to look up the address for that host, download the file, and then continue rendering the page.

A few suggestions are to make sure all your css and script references are inside the <head> tag at the top of the page. If that doesn’t fix it open up the problematic page and “view source”. Browse through to see if you have any <script> bits that are not in the <head> tag (eg: from a plugin). If that still doesn’t fix it then you can try moving any external script references (eg: google jquery) to the bottom of your website just before the end body tag.

4 months ago via CodeCanyon |
dtbaker is a moderator
142 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Italy
  • Referred between 1 and 9 users
LCweb says

I suggest to use the “NET” functionality of the firebug plugin in Firefox. It shows up how much time every element on the page takes to load completely.

4 months ago via CodeCanyon |
484 posts
  • Has been a member for 2-3 years
  • Contributed a Blog Post
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Germany
  • Referred between 10 and 49 users
radykal says

Ok I think now its working. I just installed the WP Super Cache plugin, I think its doing the job.

4 months ago via ThemeForest |
142 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Italy
  • Referred between 1 and 9 users
LCweb says

Ok I think now its working. I just installed the WP Super Cache plugin, I think its doing the job.

It’s a nice plugin, but only put a patch on the problem and each time you make any change to your website the plugin cache must be refreshed. Mainly because of old-contents were displayed I had to disable it on a website months ago.

It can fit temporarily, but to completely avoid problems i suggest to solve them by fixing the files loading time. ;)

4 months ago via CodeCanyon |
1379 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Europe
  • Referred between 1 and 9 users
Firsh says

It’s also dependant on the browser. And you might be far from your webhost. You can test speeds here: http://www.webpagetest.org/

4 months ago via CodeCanyon |
484 posts
  • Has been a member for 2-3 years
  • Contributed a Blog Post
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Germany
  • Referred between 10 and 49 users
radykal says


Ok I think now its working. I just installed the WP Super Cache plugin, I think its doing the job.

It’s a nice plugin, but only put a patch on the problem and each time you make any change to your website the plugin cache must be refreshed. Mainly because of old-contents were displayed I had to disable it on a website months ago.

It can fit temporarily, but to completely avoid problems i suggest to solve them by fixing the files loading time. ;)

Yes you were true….. I had to disabled it again, because new content did not displayed on my site.

4 months ago via CodeCanyon |
by
by
by
by
by