Tag:cache

  • Why use redis?

    Time:2020-11-6

    Recently, I have read a lot of articles about learning technology, which give me a lot of feelings. I don’t think we should buy a very thick book when learning technology. We should learn in the following ways: 1. First, understand what kind of problems these technologies solve and why these technologies should be used […]

  • Several methods for IOS to cache images locally (summary)

    Time:2020-10-19

    Caching images locally can be used in many scenarios. If only file information is stored, it is convenient to create a plist file or database to solve the problem, but it is not so convenient to store images in sandbox. Here are two ways to save pictures to sandbox. 1、 Convert the image to Base64 […]

  • On the cache function of IOS uiwebview for H5

    Time:2020-9-23

    In the past two days, I have been engaged in the interaction with H5. Before that, I have been loading static web pages. The interaction debugging is very fast. This time, we are writing front-end pages written by JS. The jump is dynamic, and then it doesn’t respond. After half a day’s work, the original […]

  • ASP.NET HTTP cache usage in core

    Time:2020-9-22

    HttpResponse caching reduces the number of client or proxy pairswebThe number of requests made by the server. The response cache is also reducedwebThe amount of work required by the server to generate the response. Response caching is provided byHttpOn requestheaderControl. andASP.NET CoreIt has the corresponding realization, does not need to understand the details of the […]

  • How to clear Xcode cache and generate files in IOS

    Time:2020-9-12

    Method 1 Press the shortcut key shift + Command + G or Finder Icon, right-click to select go to folder… Call up the go to folder box Enter it as follows /Users / (computer name) / library / Developer / Xcode / derived data enter Then delete the files in the directory Method 2 You […]

  • Operating system — Introduction to computer hardware

    Time:2020-9-11

    Introduction to computer hardware Conceptually, a computer can be abstracted into the model shown in the following figure Figure 0.1 computer abstract modelCPU, memory and I / O devices are connected by a system bus and communicate with other devices through the bus CPU The CPU is the brain of a computer. It takes instructions […]

  • Spring actual combat cache using key operation example

    Time:2020-8-19

    This article describes the spring actual combat cache using key operation. For your reference, the details are as follows: 1. Configuration file <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:p=”http://www.springframework.org/schema/p” xmlns:cache=”http://www.springframework.org/schema/cache” xmlns:context=”http://www.springframework.org/schema/context” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd”> <context:component-scan base-package=”org.crazyit.app.service” /> <cache:annotation-driven cache-manager=”cacheManager” /> <! — the cache manager for configuring ehcache is specified through configlocation […]

  • Analysis of the life cycle of redis command execution

    Time:2020-8-14

    baiyan introduce First of all, let’s take a look at the redis command execution diagram that we are very familiar withConsider this question. After connecting to the redis server, enter and execute a redis command, such as set key1 value1. How is this command sent to the redis server? How does the redis server parse, […]

  • What memory is SRAM

    Time:2020-8-13

    Static data random access memory (SRAM) is a kind of ram. In other words, “static data” means that if the power supply is maintained in this kind of memory, the data information stored inside can be maintained constantly. Under relativity, the data stored in DRAM must be upgraded periodically. However, when the energy supply is […]

  • Spring actual combat cache using condition operation example

    Time:2020-8-13

    This article describes the spring actual combat cache using condition operation. For your reference, the details are as follows: 1. Configuration file <?xml version=”1.0″ encoding=”GBK”?> <beans xmlns=”http://www.springframework.org/schema/beans” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:p=”http://www.springframework.org/schema/p” xmlns:cache=”http://www.springframework.org/schema/cache” xmlns:context=”http://www.springframework.org/schema/context” xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd”> <context:component-scan base-package=”org.crazyit.app.service” /> <cache:annotation-driven cache-manager=”cacheManager” /> <! — the cache manager for configuring ehcache is specified through configlocation […]

  • Fundamentals of computer operating system (10) — virtual memory for storage management

    Time:2020-8-7

    introduction This is the tenth article,Virtual memory for storage managementBefore we get to know it, there is a problem. A game has more than ten gigabytes, and the physical memory is only 4G. So how does this game run? In order to solve this problem, we need to introduce in this articlevirtual memoryKnowledge of Virtual […]

  • Detailed explanation of setting browser negotiation cache process based on nginx

    Time:2020-8-4

    This article mainly introduces the detailed process of setting browser negotiation cache based on nginx. The example code is introduced in detail, which has certain reference learning value for everyone’s study or work. Friends in need can refer to it The difference between strong cache and negotiation cache Strong cache: the browser directly fetches the […]