penumbra-zone / cuiloa

Block explorer for the Penumbra Zone network
https://cuiloa.testnet.penumbra.zone
Apache License 2.0
6 stars 1 forks source link

Fixing local font caching #109

Closed ejmg closed 2 weeks ago

ejmg commented 2 weeks ago

Part of #102

As of now, the application doesn't cache any of the fonts. This PR fixes the font configuration to ensure that the asset files are compiled inside of the application (public/* assets are not, apparently, and that's where the fonts were previously).

Local testing shows that fonts are no longer requested across all route segments. Merging this & checking application behavior on deployment will hopefully show this issue as resolved and save us ~3MB of fonts being transferred over the wire on every route visit.