htaccess preventing js execution in cache
Submitted by paddywack on Fri, 08/11/2017 - 17:50
I have been trying out H5P in my wp installation which is hosted by one.com. H5P content was not appearing in wp pages or in preview. In answer to my query with one.com 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
Mon, 08/14/2017 - 10:44
Permalink
Hi,Since H5P is really
Hi,
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.
Best,Pål