h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
71 stars 74 forks source link

Use system temp space instead of temp dir in plugin folder #130

Open rmdashrfslash opened 3 years ago

rmdashrfslash commented 3 years ago

Hi -

We use AWS EFS as a backend for wordpress content, and its incredibly slow with regards to lots of small files. The performance of the upload and changes is substantially better if we change the temp directory of the h5p plugin to use the system temp dir vs EFS. This patch does just that. Gives the user the ability to use system temp space. Please let me know of any thoughts and comments.

Regards,

Al