mayu-live / framework

Mayu is a live updating server-side component-based VDOM rendering framework written in Ruby
https://mayu.live
GNU Affero General Public License v3.0
130 stars 4 forks source link

Cache assets in server memory #35

Closed aalin closed 1 year ago

aalin commented 1 year ago

A lot of assets, like CSS-files, are really small. It would be good if it was possible to cache assets smaller than a configurable size in memory, so that they don't have to be read from the filesystem every time they are requested.

aalin commented 1 year ago

This is implemented here, although the size is not configurable yet.