You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each descriptor should have a hash based on their props and their children...
If the same hashes appear regularly, then that subtree could have its rendered HTML cached and maybe retrieved from /__mayu/cache/:hash.html (something like /__mayu/cache/47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU=.html). So the insert-patch would, instead of sending HTML, send the path to the HTML, and the browser could cache the response.
This could improve speed and bandwidth for static components, and maybe also improve performance because it wouldn't have to serialize the same HTML over and over...
It should probably be easy to add something to the UpdateContext class...
The HTML could be stored in memory, with some timeout that clears them if they haven't been requested in a configurable amount of time.
The text was updated successfully, but these errors were encountered:
Each descriptor should have a hash based on their props and their children...
If the same hashes appear regularly, then that subtree could have its rendered HTML cached and maybe retrieved from
/__mayu/cache/:hash.html
(something like/__mayu/cache/47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU=.html
). So the insert-patch would, instead of sending HTML, send the path to the HTML, and the browser could cache the response.This could improve speed and bandwidth for static components, and maybe also improve performance because it wouldn't have to serialize the same HTML over and over...
It should probably be easy to add something to the
UpdateContext
class...The HTML could be stored in memory, with some timeout that clears them if they haven't been requested in a configurable amount of time.
The text was updated successfully, but these errors were encountered: