Active
Project:
Boost
Version:
6.x-1.x-dev
Component:
Caching logic
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2013 at 18:29 UTC
Updated:
1 Oct 2013 at 18:29 UTC
I created a page using hook_menu and can't get boost to cache it, so now I'm trying to use hook_boost_is_cacheable. My question is how do you actually use it? In my module, I have something like this:
function mymodule_boost_is_cacheable($path) {
$path_arr = explode("/", $path);
if ($path_arr[1] == "something") {
return TRUE;
}
}
Is that the correct way to use it? Thanks!