摘要:
缓存预热是指在 Spring Boot 项目启动时,预先将数据加载到缓存系统(如 Redis)中的一种机制。 那么问题来了,在 Spring Boot 项目启动之后,在什么时候?在哪里可以将数据加载到缓存系统呢? 实现方案概述 在 Spring Boot 启动之后,可以通过以下手段实现缓存预热: 使 阅读全文
摘要:
server { listen 80; server_name img.xxxxxx.com; location /images { alias /resource/logo/; #将/path/to/image/folder替换成存放图片的真实路径 # autoindex on; #显示目录列表 阅读全文