Spring cache cache notes

Spring is an abstraction layer for caching 1. Introduce dependency spring-boot-starter-cache spring-boot-starter-data-redis 2. Write configuration Configure the cache used in the application spring.cache.type=redis 2.1 cache name It can be generated automatically without configuration, If configured, the function of creating this name ...

Added by LightningSt on Fri, 17 Sep 2021 17:20:45 +0300

Flutter-Performance optimization: Picture placeholders, pre-caching and disable navigation transition animation, byte hopping social recruitment interview records

The following GIF diagram shows the layout jump without a picture placeholder: See the full example in DartPad If you have cached a picture placeholder in your app, you can use FadeInImage Widgets to display placeholders.If you want to use a widget instead of a picture as a placeholder, you can use Image.frameBuilder&nbs ...

Added by piznac on Thu, 02 Sep 2021 03:38:23 +0300