homepage Welcome to WebmasterWorld Guest from 54.205.119.163
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Flash of Unstyled Content shows up for static pages, but not dynamic?
Bluestreak




msg:4143435
 5:51 am on May 29, 2010 (gmt 0)

I run a PHP powered site (WordPress) and while my dynamic pages load fine, if I convert them to static pages using a caching plugin, the dreaded FOUC shows up in IE (and only IE). I have no idea why either, because I clearly have the necessary <link> tags to prevent this. I tried using the page-enter transition fix, and while that works, it adds 2-3 more seconds to the page load times. Any suggestions on fixing this would be appreciated!

 

Bluestreak




msg:4143605
 4:11 pm on May 29, 2010 (gmt 0)

Problem resolved, turns out the white flash was being caused by a <script> element that was returning a 404 error because it didn't exist. Removed that element and white flash gone!

tedster




msg:4143684
 8:10 pm on May 29, 2010 (gmt 0)

Thanks - it's really good to know how that worked out. Must have been quite the detective exercise.

Bluestreak




msg:4143699
 9:26 pm on May 29, 2010 (gmt 0)

Actually I found it completely by accident. I noticed I was getting a 404 error, and when I got rid of the script element, it fixed the flash problem too. Sometimes I just get lucky. :D

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved