So we have legacy pages (.shtml) files that run along side Drupal. Until we can find the resources to import all of these, I am wondering how we can utilize Boost to cache and serve these pages. I noticed Durpal by default caches these pages. Looks like Boost is doing the same thing as I see file.shtml_.html inside cache/normal/www.domain.com directory. Since these pages are hard coded, is there a way I can insert some php code to verify that Boost is indeed serving this pages as static .html files? I see, it's being cached, how do I know if it is being served? What can we add in the htaccess file to make this happen?

Comments

bgm’s picture

Status: Active » Fixed

You can enable logging in your htaccess to debug what's happening (google for RewriteLog and and LogLevel).

Also, if you want to see which page Apache is serving, you can add a comment to the end of the html page in the cache to see if that's being served (as boost adds a "generated by boost" footer for cached Drupal content).

(closing the issue, but feel free to re-open if you have further questions related to this, or if you have any feedback since you initially posted your request)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.