caching

Forcing no-cache for internet explorer over HTTPS with HTTP response headers?

So, I recently found this little gem. http://support.microsoft.com/kb/323308 Essentially, IE doesn't haven't Cache-Control: no-cache properly over HTTPs, which breaks the download. However, I need to disable caching for a number of responses across my application which hit the same IO write path, which I can easily control. Is there ...

How to force clear user's cache/cookies?

Is there any way to force clear users cache and/or cookies? Especially in Safari/Webkit. Many thanks! ...

Why does Hibernate attempt to "cache" and how does this work in a clustered environment?

Say you have a 4-node J2EE application server cluster, all running instances of a Hibernate application. How does caching work in this situation? Does it do any good at all? Should it simply be turned off? It seems to me that data on one particular node would become stale quickly as other users hitting other nodes make changes to databa...

MySQL table caching returns stale data

I have query caching disabled (it's disabled by default on my installation) but kept getting outdated data in my application. For example, I would do a SELECT * on my review table, insert a new row and then do another SELECT *, but the new review wouldn't show up (although it would be there if I browsed to the table in phpMyAdmin). I dis...

Problem about image cache on Android

Hi Guys! As lots of people do, I use Map and SoftReference to create image cache to cache downloaded image. In my implementation, the latest used bitmap will be putted at the first element of Map, so, when the image cache reach max cache size, the last element of the Map which is long-time not used will be removed, and SoftReference ma...

Where can I check to be sure Drupal's caching is switched off for local development?

I'm developing a site in Drupal 6, and I'm going mad trying to work out why pages (specifically pages containing views), I'm working on locally are caching content instead refreshing the contents of the page, and that of linked js files, I'm relying on for making a mashup - is there a checklist I can check against to be sure I'm not miss...

Java time-based map with expiring keys

Do any of you know of a Java Map or similar standard data store that automatically purges entries after a given timeout? Preferably in an open source library that is accessible via maven? I know of ways to implement the functionality myself and have done it several times in the past, so I'm not asking for advice in that respect, but for...

Prevent IIS from flushing cache

I'm trying to get IIS not to flush cached data, so that the loading of the pages after a period without requests can be faster. SO far I've tried this, but with any success: define an infinite time for the "Object Cache TTL" property; unchecked on IIS (version 6.0) the option "Recycle worker processes"; unchecked on IIS the option "Shu...

Caching and Android.

Hi. I have an application, which on the onResume() method takes some time to redraw. I want to cache some things, but I am unfamiliar how and what can I "cache" (preload) data and keep it when my app is not visible. My question is - I have some data and I want it to be loaded in memory when my activity is not visible. My data is actuall...

how we can delete cache forcefully when user logs-in using javascript.

Can anybody tell me how we can delete browser cache using javascript. I want this because I am giving user, file for download with url ('http://www.example.com/docs/doc1.xlsx'). and this files are accessible for that specific user only. I am checking with htaccess redirect to other action which redirect to that specific file url if user...

How to set Cache control for external cloud files

Hey Guys, I was bent on improving my page speed factors and yesterday I got some cloud space on rackspacecloud. Now before this i was serving static content from a cookieless domain with proper cache control through htaccess. Now after I moved on to cloud my htaccess does not control the cloud files. There is a TTL parameter on rackspa...

"Seeing" what is in the asp.net data cache

Is there a way to see what is in the ASP.NET data cache at any given time? For example to render the contents as a hashtable view (key/object id)? ...

NHibernate Cache Provider Differences

Hi All, I've been using NHibernate for a while now, I'm still wondering what the differences are between the the Second Level Cache Providers ? Do some perform better\worse ? What is popular and why ? For claraty I'm talking about NHibernate.Caches.MemCache NHibernate.Caches.Prevalence NHibernate.Caches.SharedCache NHibernate.Cache...

rails caching with money gem (eu_central_bank)

I found this add-on for the Money gem which updates from the ECB European Central Bank (updates its rates every 24 hours) but I'm unsure how I should go about caching in my rails app which uses multiple currencies. http://github.com/RubyMoney/eu_central_bank eu_bank ||= EuCentralBank.new eu_bank.update_rates #Rails.cache.fetch('rates',...

cache dependency on file asp.net - not firing the event

I configured cache dependency on a file on the server, the cache dependency event stops responding to file changes once in 2 or 3 days. After I perform IISReset on the server, it works fine. How to debug this type of issues? Thanks in advance! ...

Why is the default cache expires header Thu, 01 Dec 1994 16:00:00 GMT? What is the significance of this date?

When some requests are processed via WebSphere application server, it sets a cache expires header of Thu, 01 Dec 1994 16:00:00 GMT. This date seems to be in a lot of documentation as a example of a properly formed date for an expires header...but it is also all over the internet in regards to actual responses. Where does this exact date ...

How to cache Cake generated XML files?

Hi, This is specifically about CakePHP's caching system. It seems to work fine caching view files, but not for xml files. This is the file I want to cache: /views/thing/xml/config.ctp It is being called like this: http://website.com/thing/config.xml This is the class I have: class ThingController extends AppController{ pub...

Why would it be important that a content delivery network uses a "reverse caching proxy"?

I was reading a description of a project on Github that is a Python-based content delivery network. Why is it important that it uses a "reverse caching proxy" - and what does that mean in this context? ...

C# WebClient disable cache

Good day. I'm using the WebClient class in my C# application in order to download the same file every minute, and then the application performs a simple check to see if the file has been changed, and if it does do something with it. Well since this file is downloaded every minute the WebClient caching system is caching the file, and no...

How to remove cache list

Hello, I have using auto-complete functionality in PHP for the text box of first name. While I get auto-complete result of first name, at that time I have received drop down list (which displays some records in cache). How can I hide the records displayed from Cache? ...