Active
Project:
Boost
Version:
7.x-1.x-dev
Component:
Caching logic
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2012 at 15:19 UTC
Updated:
1 May 2012 at 21:28 UTC
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
Comment #1
bgm commentedSounds like a bug. Can you trace it?
Are you using gzip compression?
What is their file contents?
Comment #2
giorgio79 commentedThanks 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.
Comment #3
bgm commentedJust 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?