caching for h5p

danieltebs's picture

I have a lot of anonymous traffic. That's why I integrated the Boost module (https://www.drupal.org/project/boost) into my Drupal-Installation. But i don't know, if the h5p-content will be cached, especially if other pages use the embed function.

Is there a possibility to get informations, how many h5p-contents are embedded on other sites?

Can i cache the h5p-content with the Boost module or in an other way?

icc's picture

I believe that Boost should work without issue for Interactive Content as it isn't far from a standard node type.

Regarding embed, I'm a little bit unsure since it's a custom page handler. Although, adding support for page cache is probably fairly simple.

Another option to reduce resource usage for popular nodes is to have a web server page cache store them for 1 minute using e.g. Nginx's proxy_cache.