I've got what seems to me to be an odd problem with a Drupal installation. The site is quite fast for users who are logged in (sub 1 second page loads) but much slower for anonymous users (6-8 second page loads).

Has anyone seen something like this before? Or can someone point me to a good spot to begin looking at the problem? I have tried Drupal's built in caching and the boost module, but these do not effect the problem.

You can take a look at the site at: http://www.lincolnlutheran.org if you'd like.

Comments

lsommerer’s picture

update: I've been disabling modules in an attempt to figure out what is slowing things down, but nothing has made a difference so far. I can't figure out what module would be effecting non-logged in users, but not logged in users.

lsommerer’s picture

UPDATE: problem seems to be fixed now.

There was a calendar block that was enabled only for anonymous users and was only present on the home page. The calendar block was the cause of the ~6 second delay in loading. I am not sure why the delay happened on every page as the block was only enabled for <front>.

disabling the block entirely and then enabling it removed the delay on all other pages. The home page is still annoyingly slow, but maybe boost can help with that now.

utneon’s picture

i had a similiar problem. Site would be crazy slow for anonymous users for normal for authenticated users. Obviously i knew it had to be something to do with permissions. After a lot of trial and error i found out that having the filtered input format disabled for anonymous user role was the cause of this slowliness

tjk925’s picture

Mine was due to this module: Facebook Connect 7.x-2.0-beta4

Displaying the Facebook login would always cause the page to load take an extra 2-5 seconds to load. I have disabled it in the login block and now only show login via Facebook on the /user (login) page for un-authenticated users.

Same issue as mine here: http://drupal.org/node/1762954