1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

First load into cache is VERY slow (60 seconds+)

Discussion in 'Troubleshooting and Problems' started by RobParker, May 7, 2012.

  1. RobParker

    RobParker Well-Known Member

    In trying to diagnose performance issues I've noticed something slightly strange.

    The very first load of XF on my test board can take a LONG time, e.g. 60 seconds+. The next load takes 0.2 seconds.

    We have APC running and I wondered if we have something configured wrong for it to take that long. As soon as everything is loaded into cache it's a lot quicker but once the next day (once the cache has expired, etc) then the first load is very slow again.
     
  2. DBA

    DBA Well-Known Member

    Not much can be done without seeing a url.

    Have you done a ping or load test yet?
     
  3. RobParker

    RobParker Well-Known Member

    Maybe I wasn't clear, the first load by anyone is very slow, after that everyone else's first/subsequent loads are fine.

    As I'm the only one to log on to my dev install it's more apparent, as my first load is always the "global" first load but you wouldn't see it on our live site unless you were the first one to load any page after the cache was cleared.

    I was more wondering is this normal or does it suggest APC is configured wrongly or something.
     
  4. DBA

    DBA Well-Known Member

    So it's not the first load of every visitor but instead just when the cache is hit the first time? That does sound like it's related to your caching system.

    I'm not familiar with APC, we use xcache.
     
  5. RobParker

    RobParker Well-Known Member

    Yep, exactly. It's the first "global" load if that terminology makes sense.
     

Share This Page