Performance optimizations
Caching library storage
import * as H5P from '@lumieducation/h5p-server';
// const H5P = require('@lumieducation/h5p-server'); // old-style require alternative
const cachedStorage = new H5P.cacheImplementations.CachedLibraryStorage(
new H5P.fsImplementations.FileLibraryStorage(localLibraryPath)
// you can also pass in other implementation of ILibraryStorage
);Serving the library files from a different system
Horizontal scaling
Database-based content storage
Last updated
Was this helpful?