Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

How to mange static asset cache?

wangshijun
2024-07-14 23:55
· edited

The Blocklet Server is designed to cache specific assets within its routing engine to enhance performance. These assets include the Blocklet Logo, JS/CSS/Font files used in blocklets, and images along with their variants (such as different formats, sizing, and croping). To ensure smooth caching operations, it is recommended to bundle your blocklet with an asset content digest in the file name (which is supported in most modern building tools). If there is a need to clear or reset the cache for a specific blocklet, this can be done by accessing the designated cache reset functionality for that blocklet.

image.png

Additionally, cache can be cleared at the Blocklet Server level.

image.png



Sticker