Setup

  • Caching Mode: Normal (recommended, no side effects)
  • Aggregate and compress CSS files: Enabled
  • Drupal Version: 5.1
  • Browsers: Firefox 2.0.0.2, IE7

Issues

  • After logging in pages load from browser cache making it look like I'm not logged in.
  • Theme CSS files do not load.

These issues do not occur every time for me but at times happen frequently and for other users of the site. I can live without the "Aggregate and compress CSS files" to fix the theme css files not loading issue. But enabling cache is necessary as it makes the site load a lot faster. Does anybody know of any bugs filed on these issues, I found one for the first issue but that was marked fixed for Drupal 4.6.

Comments

coofercat’s picture

There's not a great deal to go on here, but I personally have used stock caching on Drupal 4.7 and 5.1 without any particular problems, although I've never used CSS aggregation.

Can you confirm the problem persists without CSS aggreation? How about if caching is switched off?

At the very least, zeroing in on the problem would help you a great deal (then searching for bugs would be simpler too!).

mcm’s picture

Yeah the css aggregation is responsible for the theme not loading properly so I'm happy turning that off as I don't notice much of a performance boost.

Disabling cache does fixes the issue where the browser is serving up cached copies of the unauthenticated page after the user is authenticated.

I'm able to reproduce the unauthenticated page issue quite easily. On a drupal site just use the menus to switch between a few pages a couple of times so that they load quite quickly. Then log on and visit those pages again where for me it loads from the browser cache so that I don't see the edit tab. For the moment, I've hacked bootstrap.inc to prevent the browser caching the pages so I can at least get drupal to do the SQL caching. I did find a closed drupal bug for 4.6 talking about how many browsers don't re-validate the cache properly and trying to tweak the headers to get the browser to re-validate.

aaronmm’s picture

Hey,

We also have a website and we have changed some things in our theme.
Only the problem is that if the "css cache" is enabled he doesn't show the things that are changed but if the "css cache" is disbaled everything works fine.

Does someone know the solution to set the "css cache" enabled and that the browers everything shows as it must be?

With internet explorer 6 everything works fine if the "css cache" is enabled.
With firefox he doesn't show the background images on the left en the right if de "css cache" is enabled from the left en right menu's.

This is our site:

http://www.ashladan.be/ (In dutch)

Momently the css cache is disabled.

Can someone help us out?

Greetings Aaron

Thanks