massalabs / DeWeb

On-chain Decentralized Web Gateway
MIT License
2 stars 1 forks source link

97 update server with new sc #127

Closed thomas-senechal closed 1 month ago

pivilartisant commented 1 month ago

gg

sharing two thoughts:

thomas-senechal commented 1 month ago
  • what happens to log size ? is it ever deleted ?

We use MS logger which handles log size and stuff like that. We could add some settings in the config file, but it's nota priority https://github.com/massalabs/station/blob/main/pkg/logger/logger.go

  • thinking ahead, but user might want to delete cache when closing the server app for privacy reason... we might to think about this down the line ?

could be a nice privacy feature We could also think about a RAM cache instead of the disk one, which would be cleaned once the server is shutdown But not a priority for now