i have been enabled boost module.it creates a folder till "cache/normal/example.com".but there is no cached html files. i am struggling with this two days.any one help? thanks advance.
Without any further information, I would check the permissions on your directories. In my D7 install, I don't have a 'cache' directory, so it looks like it will need to be created either by Boost itself or by you manually.
Try this on your web server as root user:
$DRUPAL_INSTALL=/var/www/path/to/your/drupal $WEB_USER=apache mkdir -p $DRUPAL_INSTALL/cache/normal chown -Rv $WEB_USER:WEB_USER $DRUPAL_INSTALL/cache chmod 755 -Rv $DRUPAL_INSTALL/cache
The above will create your 'cache/normal' directory in the drupal root (where index.php is). Then it transfers ownership of these directories to the web user, assuming apache here. Finally it corrects the permissions.
Be sure to modify the $DRUPAL_INSTALL and $WEB_USER variables to match your web server's environment.
If the configuration seems correct, there are still some circumstances, where the page get's not cached by boost.
You can place the boost block (called Boost: Pages cache status - that will show you information about the cached page, or tell you that it won't be cached) on every page to start diggin.
Most common causes can be:
- PHP execution in a block (php module enabled ..)
Solution would be to create a custom block in a custom module doing that php
- Authorized user has dependencies on the content shown. The page gets only cached for anonymous users
Solution would be to load that part via AJAX, also consider using authcache, which does that for the most common use cases