I love this module and would really appreciate if someone can help me on this setting.

Statically cache specific pages:
Cache pages for which the following PHP code returns TRUE (PHP-mode, experts only).

I have selected the crawler to crawl the url alias table (on cron run). However there are some url's i don't want crawled like the taxonomy pages. I'd also like to include some urls that are not in the url alias table as well so i figure the last option to Cache pages for which the following PHP code returns TRUE (PHP-mode, experts only)" will serve my purpose.

So i need help writing this php code to do the following:
Don't cache urls:
category/*
events/*
Cache:
calendar (view)
news (view)

In fact, all the page urls generated by my VIEWS are not getting cached.

Comments

sunflower’s picture

Also, on this "Cache all url alias table" setting...
Of course, my home page doesn't get cached, I'd like to include this as well (very important).

Thank you.

I wonder if i can set the crawler/cache to happen at a specific time everyday? Like crawl at 3pm everyday?

hedac’s picture

I would like this feature for the crawler also to exclude certain pages that are only for authenticated users and does not make sense to have all in the boost cache... I don't mind if there is some rare non cached requests to those pages.

and another thing... a bug is that the crawler tries to get the pages that are excluded in the Statically cache specific pages: