3 ms·
Website was written in C# (ASP.NET MVC); the data is cached in-memory on the webserver. I have caching limit (Like Count = 3 minutes, Page info (name, images,
by NKCSS 10y ago
Website was written in C# (ASP.NET MVC); the data is cached in-memory on the webserver.
I have caching limit (Like Count = 3 minutes, Page info (name, images, etc.) = 1 hour).
Every time one of the resources is requested from the webserver; it's served from memory (initial retrieval on site start); and on access, it's checked how old the data is. If the data's older than the threshold, it's refreshed async and displayed on the next request.