I just spin a test Drupal7 site and having some issue w/ getting boost module to work(

$ cat /etc/redhat-release 
Scientific Linux release 6.4 (Carbon)
$ uname -a
Linux XXX.XXXXX.XXX 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 11:13:47 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -q drupal7 php php-pecl-apc
drupal7-7.23-3.el6.noarch
php-5.3.3-23.el6_4.x86_64
php-pecl-apc-3.1.9-2.el6.x86_64
$ drush -r /usr/share/drupal7/ -l alexustest pm-list | grep '(boost)'
 Performance and scalability  Boost (boost)                                  Module  Enabled        7.x-1.0-beta2  
$ 

this is what I get via "Boost: Pages cache status" block:

File: cache/normal/alexustest/_.html

Generated: not cached yet (either no one has visited the page recently, or something is preventing the cache from being generated).

I'm not sure what I am doing wrong. Can someone help me?

Comments

sp_key’s picture

Issue summary: View changes

Hi Alexus,

Did you manage to identify what the problem is?
I'm also trying to set up Boost as per the instructions but it doesn't work for me.
This is my situation:

  1. I ensured Clean URLs work as expected
  2. I disabled core Drupal caching
  3. I installed Boost 7.x-1.2 and all the relevant modules (cache expiration & HTTP Parallel Request Library) under my test site which sits in a sub-directory outside Public_html. I then set the Maximum Cache Lifetime to 1 week and Minimum Cache Lifetime to 0
  4. I modified my .HTACCESS file by adding the generated code under RewriteBase. I then uncommented and changed RewriteBase /drupal to read RewriteBase / (even though I did not notice any issues)
  5. I ensured 775 permissions for the cache folder
  6. I then inserted the Boost block at the bottom of my pages visible only to admin
  7. I then cleared cache, logged out, visited as few pages using Edge and Firefox and went back to admin using Chrome to observe results.

Result: Only the homepage would show as cached. All other pages would specify: "Generated: not cached yet (either no one has visited the page recently, or something is preventing the cache from being generated)."

A couple of things I noticed just in case I can help:

  • Boost would only produce an _.html file under the cache folder. I would expect more files, one for each page I visited
  • Boost instructs me to copy the .htaccess additions above "Pass all requests not referring directly to files in the filesystem... ". In my case, my .htaccess file has mod_headers code to prevent content sniffing right above
  • Under admin/status I can see the below issue being reported: Info Database 4 byte UTF-8 support Disabled. 4 byte UTF-8 for mysql is disabled. See the documentation on adding 4 byte UTF-8 support for more information. (the description is a bit too technical for me hopefully, it's not related to the issues I am having

I would greatly appreciate any help!
Hopefully this is sufficient information for troubleshooting!

Cheers
sp_key

sp_key’s picture

After a lot of experimentation, I found that Boost finally creates the static pages under the cache folder but only if for every single page, I clear my browser's cache.

Hopefully this gives a little bit more information