Hello,

I am seeing a lot of files in the cache folder without extension like
boost1WP9Du
boost2vpKmq

and been wondering what are these? They all seem to be the homepage with same size.

Comments

bgm’s picture

Sounds like a bug. Can you trace it?
Are you using gzip compression?
What is their file contents?

giorgio79’s picture

Thanks bgm for the reply, this is what I have so far

These are all for the homepage and on only one of my sites that was upgraded from D6. On d7 sites I have not seen this.

The homepage gets cached with such a title : "_.html" and then all the files with names like boost2342 are without extension. It seems it keeps on caching the front page, but not generating a proper filename.

I remember in D6 there was a front page issue as well, where the front page was not cached but that was fixed by Mikey, could be related. Will keep on investigating.

PS: I deleted all these caches including the file named "_.html" and now this one did not regenerated only these funky named "boostASFaw33" files. The front page is a proper node with title, but it is not a menu entry.

bgm’s picture

Just to confirm, this is a Drupal 7 site? (which was upgraded from D6, but I assume you have cleared cache since)

According to the code, the main place where files are written is in boost_write_file(). It does try to generate a temporary file first, then renames it to the real name. So this might be the code causing the issue.

It might be that you have a permission issue on the directory. Can you test removing the "@" in front of "rename" calls, so that it triggers a warning if there was a permission issue?