Tag:cache

  • Interviewer: you talk about the understanding of physical memory and virtual memory

    Time:2021-6-10

    The article is constantly updated every week. It’s not easy to be original. It’s the biggest affirmation for me to let more people see the “San Lian”. WeChat can search the public for the first time to read the official account of “backend Technology School” (usually one to two updates earlier than blogs). Let’s continue […]

  • How. Net uses cache framework to add cache to program

    Time:2021-6-6

    Net 4.0 adds a new system.runtime.caching namespace, which provides a series of extensible cache framework. This paper briefly introduces how to use it to add cache to programs. A cache framework mainly includes three parts: objectcache, cacheitempolicy and changemonitor. ObjectCacheRepresents a cache pool, which provides interfaces for adding, obtaining, and updating cache objects. It is […]

  • How to implement Java local cache based on loadingcache

    Time:2021-5-11

    This article mainly introduces how to implement Java local cache based on loadingcache. The sample code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. If you need a friend, you can refer to it preface Guava is an open source tool library of Google. The cache […]

  • Detailed explanation of nginx setting resource cache

    Time:2021-5-3

    I’ve always wanted to learn about caching. After all, front-end performance optimization caching plays a large part in it. There are two types of caching: forced caching and negotiated caching. I’ve read many articles about the differences between them, but I don’t know how to set them. I don’t know how to set them, because […]

  • Summary of solutions to Ajax cache problem

    Time:2021-4-29

    1. Add anyajax obj. SetRequest header (“if modified since”, “0”) before Ajax sends the request. 2. Add anyajax obj. SetRequest header (“cache control”, “no cache”) before Ajax sends the request. 3. Add a random number after the URL: “fresh =” + Math. Random();. 4. Add the time rub after the URL: “nowtime =” + new […]

  • JSP page cache technology — Introduction and implementation of browser cache

    Time:2021-4-28

    1、 Overview The idea of caching can be applied to all levels of software layering. It is an internal mechanism, which is imperceptible to the outside world.The database itself has cache, and the persistence layer can also cache( For example, hibernate is also divided into level 1 and level 2 cacheThe business layer can also […]

  • Solution to the cache problem of Ajax unable to refresh data under IE9

    Time:2021-4-17

    Use getjson of jQuery to get data from the background regularly and refresh the interface. When using the following methods, it’s OK in chrome and Firefox, but it can’t refresh the data in IE9 $.getJSON(webApp + “/GetShowData.do?limit=” + limit,function(data){   //****************** } The reason is that in IE9, if the Ajax request is the same as […]

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

    Time:2021-4-2

    introduction This article is the tenth,Virtual memory for storage managementBefore we knew about it, there was a question. A game has more than 10 gigabytes of physical memory and only 4 gigabytes of physical memory. How does the game work? In order to solve this problem, we need to introduce in this articlevirtual memoryKnowledge of […]

  • [End] improve your PHP framework with composer (3) — redis cache

    Time:2021-3-27

    The original text is published on my personal website:Using composer to improve PHP framework (3) — redis cache See thehttps://github.com/johnlui/My-First-Framework-based-on-Composer review In the last two articles, we completed the design of view view loading class and mail sending class, and completed two pluggable components. In this article, we will build another pluggable component——Redis interfaceAnd use […]

  • Nonvolatile MRAM memory used in all levels of cache

    Time:2021-3-7

    Reluctance random access memoryMRAMIt is a new type of memory, which has the advantages of fast reading speed, high integration and non-volatile. At present, many researches focus on the application of MRAM in computer storage system. At the same time, nonvolatile MRAM memory is also used in all levels of cache. MRAM replaces SRAM as L2 […]

  • Composition of MRAM cache

    Time:2021-3-6

    Reluctance random access memory(MRAM)It is a new type of memory, which has the advantages of fast reading speed, high integration and non-volatile. At present, many researches focus on the application of MRAM memory in computer storage system. Because of its many advantages, MRAM has the potential to replace SRAM and DRAM. MRAM memory constructed with […]

  • Read priority and sram-mram hybrid architecture

    Time:2021-2-23

    Because of its many advantages, MRAM has the potential to replace SRAM and DRAM. MRAM memory constructed with MTJ memory cells can be used as cache. However, the long latency and high power consumption of MRAM write operation become its bottleneck, which hinders the further improvement of its performance. Read first write buffer and sram-mram […]