On Thu, Apr 16, 2009 at 4:21 PM, Shai Gluskin shai@content2zero.com wrote:
Is Drupal caching the non-existence of pages?
Isn't it supposed to work like this for anon users: URL is called, Drupal checks to see if there is a cached version. If there is, it gets the cached version, if not, it runs the queries and builds the page from scratch.
I've seen similar stuff that I can't quite explain on a fairly large number of sites. Every now and then cron.php will get into the cache_page table as a 404. The only solution I have is to "delete from cache_page where cid like '%cron.php';"
One note - the cache is only used for anonymous users which explains why the authenticated users in step 2 of your scenario see the actual page.
If you have a way to get the step 1 (i.e. the 404 for anonymous that should actually be a page) I'd love to hear it. There's certainly a bug in here that we should solve.
Greg