WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Slower page load on secondary site (28 posts)

  1. robnalexpress
    Member
    Posted 3 years ago #

    I have 2 sites running on a multisite installation. Both are using W3 Total Cache, which has provided a significant performance boost to both sites. The "secondary" site is mapped using WordPress MU Domain Mapping.

    The performance (page load speed) of the domain mapped site is significantly slower than the unmapped site, and I don't know if this is a normal trade-off with multisite or domain mapping? Any suggestions pointing me in the right direction will be appreciated.

    The unmapped site is http://trianglehomesuccess.com/ I'm happy with the performance of this site on a shared host.

    The mapped site is http://trianglenewhome.com/ This site is a tad sluggish, and I would like to find a way to improve the performance.

    Any suggestions will be greatly appreciated!

    Rob

  2. Loads roughly the same for me.

    What tools are you using to verify speed?

  3. robnalexpress
    Member
    Posted 3 years ago #

    @Ipstenu- Mostly check YSlow. Do load times seem acceptable on your side, for a shared host?

  4. I ran both thru yslow. the unmapped site got a C. the mapped site got a B.

  5. robnalexpress
    Member
    Posted 3 years ago #

    @Andrea_r- Yes, Andrea, but this is a new development that happened as soon as I followed your suggestions in this post to edit the mapped site. I'm still trying to figure out how editing the mapped site would have an effect of the unmapped site! Prior to editing the mapped site, the unmapped site scored B/84 on ySlow.

    Rob

  6. editing the mapped site should have no effect on the main site.

    I know you're using yslow, but I'm not convinced it's the be all and end all. both your site loaded in a reasonable time for me. neither one seemed slow.

  7. robnalexpress
    Member
    Posted 3 years ago #

    @Andrea_r- Thanks! That may help me let it go. Could be just a coincidence- I agree and can't think of any reason the edit would affect the other site. Recently upgraded to firefox 3.6.15. That may be why Yslow is grading differently. Weird. The mapped site has always performed somewhat slower- until now.

    Rob

  8. Frederick Townes
    Member
    Posted 3 years ago #

    Is there still an ongoing issue here?

  9. robnalexpress
    Member
    Posted 3 years ago #

    @Frederick Townes-

    Not sure- scores are good, and W3TC has helped with that. May just be a multisite fact of life- that there are a couple additional steps: parked domain to primary domain to domain mapping to sub-site.

  10. robnalexpress
    Member
    Posted 2 years ago #

    I'm still trying to determine if it's normal for pages of a domain mapped sub-site to load slower.

    This multisite has been moved to a liquid web smart VPS. Site 1 (main, unmapped site) absolutely snaps! Site 2 (domain mapped sub-site) is fast enough, but considerably slower, AND that white preload screen (before browser caches) is SO annoying! Both sites are running W3TC.

    If this is just normal performance for a domain-mapped sub-site, I'm going to have to go to 2 separate WP installs- one for each site.

    Any ideas?

  11. No, mapped domains don't normally load slower by default.

    while I did notice the mapped domain a bit slower, it was calling an awful lot of external scripts as well. that'll slow it down.

  12. robnalexpress
    Member
    Posted 2 years ago #

    @Andrea_r- Thanks! How do I identify the external scripts. The only difference between the 2 sites is that the sub-site is running nextgen gallery.

    AND that white preload screen (before browser caches) is SO annoying! Both sites are running W3TC.

  13. AND that white preload screen (before browser caches) is SO annoying!

    That's your browser. Every browser... it's what shows before the browser has pulled any info to display.

    One of the scripts I saw loading was for maps.media5.com (I think) It was hard to catch the name and funnily enough it;s not in the source. Subsequent page loads were really fast.

    These have all been added via plugins & stuff. ;) So find that URL and theres the issue.

  14. robnalexpress
    Member
    Posted 2 years ago #

    That's your browser. Every browser... it's what shows before the browser has pulled any info to display.

    I don't see that on my main site, or on your site!

    One of the scripts I saw loading was for maps.media5.com

    That would be the google map on this page. That's making the entire site slow?

  15. robnalexpress - Even if it doesn't happen on every site, every time, it's the nature of the internet rather than WP. Most of it is a perception issue, but Andrea (and her slow internet) would see if every time. Me? More when I'm at home than at work on the super-fast office ;) (Go to att.com and watch the white flash - it's not just you).

    Any third-party scripts will slow your site down because they have to load, and you're at their mercy. So. Yes. Yes it can slow your site down.

    Don't concentrate so much on the YSlow. Use the site. Is it usable? Does it feel fast? Try asynchronous loading for your javascripts, caching, server side optimization etc.

  16. That would be the google map on this page. That's making the entire site slow?

    wherever the script is called, it's trying to load that before *anything* else.

    So yes.

  17. robnalexpress
    Member
    Posted 2 years ago #

    Ipstenu & Andrea- Thanks so much for the good information. There are 2 google scripts on this page for the map and directions. When I get a chance I'll take them off, one at a time, and see what happens.

    Bottom line: I am completely happy with the performance of the main site and would like the domain mapped site to perform just as well. We have a very fast internet connection (17mbps downloads) so I know that if pages are loading slower than I'd like here, it's gonna be even slower for others.

    I'll let you know what happens when I take that google script out.

  18. robnalexpress
    Member
    Posted 2 years ago #

    OK, so I removed the external google code, and no real change, so still no closer to an answer as to why the domain mapped sub-site:

    1. Pages load slower
    2. White background while loading

    it's the nature of the internet rather than WP. Most of it is a perception issue

    When switching pages on the main site, even when there is a delay loading, the current page never goes blank. On site 2, when you click on a new page, the current page immediately goes white while the new page is loading. I'm not the only one experiencing this. It is discussed here and here.

    Don't concentrate so much on the YSlow. Use the site. Is it usable? Does it feel fast?

    This isn't about scores, this is about what I see. I'm just trying to figure out why two very similar sites on the same install perform so differently.

  19. I know the white screen is frustrating, but it really is a page load issue. Yes, really.

    I do see a white screen all the time on almost all the pages I visit across the entire internet. because I live in Podunk Canada and can't get a decent internet hookup from here. :P We went over it in the other threads.

    There's a number of factors that can slow down your site - even yes, domain mapping - and adding them all up can lead to a lag you can actually see. As for domain mapping, it won't be the plugin itself, but how many dns hops everything needs to go through to get to your site.

    If you're parking domains in cpanel then yeah - that's one more step. If you've got a vs or dedicated where you can manage this more appropriately, then it clears up a bit.

    (see http://wpmututorials.com. it's a mapped domain.)

    I keep hitting your mapped domain and see an improvement today.

  20. robnalexpress
    Member
    Posted 2 years ago #

    Andrea- Thanks for all the follow-up- much appreciated. Took out the google map iframe, and that helps a bit, but I do need a map on that page, so I need to find maybe a plugin that isn't too intrusive.

  21. Or loads in a different spot, like after the rest of the page instead of before everything else. ;)

  22. robnalexpress
    Member
    Posted 2 years ago #

    There's a number of factors that can slow down your site - even yes, domain mapping - and adding them all up can lead to a lag you can actually see. As for domain mapping, it won't be the plugin itself, but how many dns hops everything needs to go through to get to your site.

    This makes sense, and is what I suspected all along. Of my 3 WordPress sites, the domain-mapped subsite is the only one that exhibits the white screen between page loads, even when the pages load quickly. I should point out that the issue is not really the page load speed, but what I see when any page loads- fast, slow or in between. It's not a functional problem, just something I really dislike. One day, when I have some time (ha ha) I'll move this site to its own installation.

  23. Frederick Townes
    Member
    Posted 2 years ago #

    Can anyone give me more insight on how W3TC causes issues here?

  24. I don't think so. It seems more a function of how servers load up cached pages.

  25. Frederick Townes
    Member
    Posted 2 years ago #

    So in every case this issue is being reported about a shared hosting account?

  26. robnalexpress
    Member
    Posted 2 years ago #

    Can anyone give me more insight on how W3TC causes issues here?

    I don't think it's related to W3TC at all. The issue is no longer relevant for me as I no longer use multisite.

  27. Oh I can reproduce a 'flash of white' on my VPS, but it's directly related to APC :)

  28. Frederick Townes
    Member
    Posted 2 years ago #

    So there's nothing we can do here? Do you know what APC is doing at that moment?

Topic Closed

This topic has been closed to new replies.

About this Topic