Pages don't show new content unless hard refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hst
    Member
    • Sep 2006
    • 44
    • 3.7.x

    Pages don't show new content unless hard refresh

    I'm not sure if this is a problem with VB or vbSEO:

    When someone posts to my forum it often doesn't show up until you do a hard refresh with Ctrl-F5. Sometimes after people login they get redirected back to a page that looks like they aren't logged in.

    I had no-cache headers on but the traffic got high enough that the no-cache headers cause too much server load and the site crashes.

    Any ideas?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    The no-cache header option is what I usually recommend when you are having caching issues like this. I am not aware of vBSEO causing this problem but it wouldn't hurt to ask on their site.

    Otherwise you can adjust the caching options in your browser.

    Comment

    • hst
      Member
      • Sep 2006
      • 44
      • 3.7.x

      #3
      Drupal and vBulletin problem

      Originally posted by Jake Bunce
      The no-cache header option is what I usually recommend when you are having caching issues like this. I am not aware of vBSEO causing this problem but it wouldn't hurt to ask on their site.

      Otherwise you can adjust the caching options in your browser.
      The no-cache header was putting too much load on the server.

      It turns out the problem was that I was running Drupal in the main site (domain root) and vBulletin in a subdirectory (/forum). Drupal has the following lines in .htaccess:

      Code:
      # Requires mod_expires to be enabled.
      <IfModule mod_expires.c>
        # Enable expirations.
        ExpiresActive On
        # Cache all files for 2 weeks after access (A).
        ExpiresDefault A1209600
        # Do not cache dynamically generated pages.
        ExpiresByType text/html A1
      </IfModule>
      I added this line to the vBulletin .htaccess file:

      Code:
      # stop caching problems:
      ExpiresActive Off
      ...and that fixed it.

      Hope that info can help other people who are running Drupal and vBulletin together...

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...