This simple line in cache.ts will make webpack bundle an extra 19 kb shim for client-side scripts:
export const convertActionToBase64 = (action: Action) => {
return Buffer.from(JSON.stringify(action)).toString('base64');
};

Would it not be better to use a simple string concat like this:
const convertActionToBase64 = (action) => {
return `${action.method}${action.endpoint}`
}