caching

Resources and communities for data caching methodology

The subject of data caching within software systems must be one of the oldest ever in the software design community. However, being such a vast subject also makes it hard to locate good resources about it. Please share your pointers to serious resources and material on this subject. Books, wikipedia articles, forums, etc. Thanks. /R ...

Analysis Service - Proactive caching failing

For a while the proactive caching process successfully sync the OLAP databse and then is starts giving the following error 'Errors in the OLAP storage engine: The attribute key cannot be found:' followed by spesific data related information. I do not however have a problem if I manually process the databse with the 'Transactional Deploye...

URL Case Sensitivity causing Caching problems! Is there a quick fix header??

Is a http header that I can set in IIS that will essentially tell the users browser that url "/something/img.gif" and url "/SomeThing/IMG.gif" are in fact the same thing and that the browser should NOT re-download that resource? I'm running into cache issues where some urls are cased differently, and so users browsers are re-downlo...

What sorts of things should I do to make a performant and robust reflection cache?

In .NET 3.5, I'm going to be working with System.Reflection to use AOP (probably in the context of Castle's Windsor Interceptors) to do things like define which security actions need to be performed at the method level, etc. I have heard that some parts of Reflection are slow (I've read the MSDN article around it), and would like to cac...

How to cache images in memory on the web server for an ASP.NET MVC web app?

I am working on a web application with many images, using ASP.NET MVC. I want to be able to cache the images in memory to improve the performance, but I would like to hear what is the best way to do this. 1) The images are accessible from URL, like http://www.site.com/album/1.jpg. How are the images stored in memory? Are they going to ...

What's the best way to use memcache with a single-server app?

For a single-server LAMP site (which is usually under quite high load), what is best way to use memcache? Does it make sense to run the memcache daemon on the same server as the application, or is that just going to take valuable memory away from MySQL, giving a net performance loss. Does it even make sense to use memcache in this sce...

How can I implement Caching Strategy in my Asp.net Mvc With linq2sql repository?

I dont know if I should use the httpcontext caching or the Enterprise Library Caching Application Block. Also, what is the best pattern for the caching Strategy when deleting or updating an entity that is part of a cached list? Should I remove all of a list from the cache or only remove the item from the cached list? If I update it will...

How do you set ASP.NET Development Web Server to not cache any content?

I use the ASP.NET Development Web server (also known as the Visual Studio Development Web server) to do local web site debugging and testing. I've pretty much found exact functionality with IIS with the dev web server. However - where can you manage the settings of the dev web server - specifically regarding never caching any content -...

Target IIS Worker Processes on Request

Ok, strange setup, strange question. We've got a Client and an Admin web application for our SaaS app, running on asp.net-2.0/iis-6. The Admin application can change options displayed on the Client application. When those options are saved in the Admin we call a Webservice on the Client, from the Admin, to flush our cache of the options ...

How would you make an RSS-feeds entries available longer than they're accessible from the source?

My computer at home is set up to automatically download some stuff from RSS feeds (mostly torrents and podcasts). However, I don't always keep this computer on. The sites I subscribe to have a relatively large throughput, so when I turn the computer back on it has no idea what it missed between the the time it was turned off and the late...

Design problem: shared, synchronized, data access in application... the best approach?

I have a web application (asp.net) where work items are submitted and allocated to users according to their workload. A user's workload is calculated using an algorithm based on the number of items currently allocated to the user (and some other factors). Each new item is allocated to the user with the lowest current workload, increasin...

Does SQLAlchemy support caching?

Does SQLAlchemy support some kind of caching so if i have lots of time the same query it would return the response from cache instead of querying the database until i clear the cache for that query because i updated de db? Or what's the best way to implement this on a CherryPy,SQLAlchemy setup? ...

When Does Browser Automatically Clear JavaScript Cache?

I have a JavaScript resource that has the possibility of being edited at any time. Once it is edited I would want it to be propagated to the user's browser relatively quickly (like maybe 15 minutes or so), however, the frequency of this resource being editing is few and far between (maybe 2 a month). I'd rather the resource to be cached...

browser back button doesnt work in cached environment

The back button just causes my page to refresh. Is there a way around this without disabling the cache? ...

How can you tell whether a file is being cached in memory in linux?

Essentially my question is, does anyone know of a utility for inspecting the buffer cache in linux? ...

Is Donut Caching working properly with ASP.NET MVC?

And by donut caching, I'm refering to Scott Guthrie's blog post which is awesome. Does anyone know if that works properly? ...

Is there an IIS setting to get rid of extra '/' characters in a requested URL?

The general problem: We have urls coming to our IIS web servers formatted like: http://www.server.com/page.aspx We are also seeing that urls like this are coming in: http://www.server.com//page.aspx We would like to get rid of that extra path character because when the user agent is Internet Explorer, this is resolving as ...

python threadsafe object cache

Hi, I have implemented a python webserver. Each http request spawns a new thread. I have a requirement of caching objects in memory and since its a webserver, I want the cache to be thread safe. Is there a standard implementatin of a thread safe object cache in python? I found the following http://freshmeat.net/projects/lrucache/ Thi...

How cache memory works?

Today when I was in computer organization class, teacher talked about something interesting to me. When it comes to talk about Why cache memory works, he said that: for (i=0; i<M; i++) for(j=0; j<N; j++) X[i][j] = X[i][j] + K; //X is double(8 bytes) it is not good to change the first line with the second. What is your opinion...

What is the right info to cache? What's a good page load time?

I'm in the process of developing a social network site. And been thinking of scalability from day one of the project, I've fine tuned the site and queries to the best of my ability. However; Certain pages are very data heavy and I'm not quite sure if they are loading as fast as they could so I was thinking of implementing a distributed...