htaccess preventing js execution in cache

I have been trying out H5P in my wp installation which is hosted by H5P content was not appearing in wp pages or in preview. In answer to my query with engineeres I was told that the .htaccess is preventing js execution. As a 'fix' they have remover the /js parameter but they say this is a security risk and that content should not be cached in the uploads folder which is just for static content.

They asked me if I could change this but, of course, I cannot.

Has anybody any comments about this?

fnoks's picture


Since H5P is really dynamic in it's nature, JavaScript and CSS files are cached/aggregated per site (dependent on which H5P libraries are in use). I don't think we can do this any other way.