Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

caching

list OutputCache entry

August 30, 2022 by Magenaut

in my asp.net mvc application i’m using the OutputCache attribute on different action method.
Is possible to view the current entries on the cache related to OutputCache attribute?
If i cicle on System.Web.HttpContext.Current.Cache i don’t find this type of entry.
Thanks in advance F.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-2, caching, outputcache Leave a comment

Is MemoryCache scope session or application wide?

August 30, 2022 by Magenaut

I’m using MemoryCache in ASP.NET and it is working well. I have an object that is cached for an hour to prevent fresh pulls of data from the repository.

Categories ASP.NET, Q&A Tags asp.net, caching, memorycache Leave a comment

What is the default serialization used by the ASP.net HttpRuntime.Cache

August 30, 2022 by Magenaut

Just wondering if anyone knows definitively what the default serialization used by the ASP.net HttpRuntime.Cache is? Is it Binary, XML, something else?

Categories ASP.NET, Q&A Tags asp.net, caching Leave a comment

Output cache for multi-tenant application, varying by hostname and culture

August 30, 2022 by Magenaut

I have a multi-tenant application in ASP.NET MVC. The instance of the application that will be served is function of the hostname alone (something along the lines of stackexchange, I suppose).

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, caching, culture, multi-tenant Leave a comment

ASP.Net Core 2.0 – ResponseCaching Middleware – Not Caching on Server

August 30, 2022 by Magenaut

I want to use server-side response caching (output cache) with asp.net core 2.0 and found out about Response Caching Middleware and wanted to give it a try with a brand new asp.core mvc project.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-2.0, caching, outputcache, responsecache Leave a comment

Asp.net – Caching vs Static Variable for storing a Dictionary

August 29, 2022 by Magenaut

I am building a web-store with many departments and categories. They are stored in our database and accessed often.

Categories ASP.NET, Q&A Tags asp.net, c#, caching Leave a comment

What are difference between IIS (Dynamic and Static) cache,OutPutCache and browser cache

August 29, 2022 by Magenaut

What are difference between IIS (Dynamic and Static) cache, OutPutCache and browser cache?

Categories ASP.NET, Q&A Tags asp.net, caching, iis, iis-7, outputcache Leave a comment

Browser Caching in ASP.NET application

August 29, 2022 by Magenaut

Any suggestions on how to do browser caching within a asp.net application. I’ve found some different methods online but wasn’t sure what would be the best. Specifically, I would like to cache my CSS and JS files. They do change, however, it is usually once a month at the most.

Categories ASP.NET, Q&A Tags asp.net, caching, css, iis, javascript Leave a comment

Changing frequency of ASP.NET cache item expiration?

August 29, 2022 by Magenaut

I noticed that the ASP.NET cache items are inspected (and possibly removed) every 20 seconds (and oddly enough each time at HH:MM:00, HH:MM:20 and HH:MM:40). I spent about 15 minutes looking how to change this parameter without any success. I also tried to set the following in web.config, but it did not help:

Categories ASP.NET, Q&A Tags asp.net, caching Leave a comment

ASP.NET cache add vs insert

August 29, 2022 by Magenaut

What is the difference between the Cache.Add() and Cache.Insert() methods?

Categories ASP.NET, Q&A Tags asp.net, caching Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page9 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress