How to design an ASP.NET MVC site for caching with Velocity?

后端 未结 4 502
离开以前
离开以前 2021-02-01 11:03

I\'m coming from the LAMP world, where the \"cache everything\" mentality is prevalent. Everything is put in memcache.

I\'m starting a new project with ASP.NET MVC and

4条回答
  •  深忆病人
    2021-02-01 11:40

    dswatik provided a great link on how to use it.

    I'd suggest adding this functionality somewhere in your Repository/Service layer to take the burden off of the application and to stay within the DRY principle.

提交回复
热议问题