Hey Mikey,
Just installed the latest dev as we discussed in another issue, and I got it to work with boosted2.txt htaccess version, yet I noticed that the frontpage is not cached with either. So there is no cache file generated for root.
Cheers,
G
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | boost.module.patch | 434 bytes | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedis there a
_.htmlfile in the root of your cache dir?Comment #2
giorgio79 commentedI just checked Mikey but nope. Even checked the gz folder, but there is no such file.
Comment #3
mikeytown2 commentedok so the php is not generating the _.html root file... I'll start to look around for a cause in the PHP. In the mean time can you check that under admin/settings/performance Cacheability settings that there is nothing in there that would prevent the front page from being cached? Default is "Cache every page except the listed pages". Also make sure your not logged in and accessing the front page like www.example.com, not www.example.com/frontpage
Comment #4
mikeytown2 commentedDoes your front page generate any kind of php error or use drupal_set_message()?
Way to check is by putting this code block on the front page somewhere
It should output
messages:0 boost_is_cacheable():1if its working correctly.Comment #5
giorgio79 commentedThanks Mikey,
#4 all seem ok. Nothing seems to be preventing its creation.
Though previously the root was created as index.html not as _.html as you mention.
#5
output:
messages:1 boost_is_cacheable():
I investigated this and there was a missing pngfix file generating an error message, but I fixed it, and now there are no messages, but no luck.
Comment #6
mikeytown2 commentedok so it appears the problem is in boost_is_cacheable()
can you give me the output of this block
Comment #7
giorgio79 commentedThanks Mikey, here it is
path: normal-path:
Both blank
Comment #8
mikeytown2 commentedok can you test this patch out? I can't reproduce the bug, but I'm fairly sure this will fix it.
Comment #9
giorgio79 commentedYep, thanks Mikey! That did it :)
Comment #10
mikeytown2 commentedcommitted. Thanks for reporting and testing!