caching

IE not caching images returned from .NET handler?

Our images for our site are handled via a ASHX handler (closed source COTS system). It accepts a key and returns an image response. In the process though, if an image is using SSL, it will return a non-SSL URL as a 301. This works fine in Firefox and the like. The issue is with IE. In one scenario, we have the same image displayed twic...

How to increase key size in Memcached

Problem I'm getting the error: key too long "rack:session:BAh7...." /usr/local/ruby-enterprise/lib/ruby/gems/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:703:in `get_server_for_key' /usr/local/ruby-enterprise/lib/ruby/gems/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:920:in `request_setup' /usr/local/ruby-enterprise/lib/ruby/gems/1...

How to extract files from Safari cache on Windows Vista.?

I've managed to find the file Cache.db. When I open it, I see references to files I've cached while browsing, and I would like to extract those file, like you can do with IE of FF. Anyone has an idea on how I can get files from the blob data inside cache.db..? I'm on Windows, so Apple software are not an option... Thanks. ...

Cache Progressive downloaded content in MPMoviePlayerController

Hi, I have a music player implemented in iphone (sdk 4) and it works both with streaming of Mp3 (Transcoded on the fly) or raw progressive download. Is there anyway to make the progressivedownloaded content (which I dont directly control) to be cached so it doesn redownload the whole content? Or Is there a global cache setting to contr...

Presta shop - smarty cache problem

The question is that has anyone setup the presta shop with cache true and compile false smarty options? If this options are enabled nothing is working as it schould the smarty ->assing can be done only once if you put other value to a placeholder only the first will be active. The adding to cart or deleteing is not working. Any ideas ...

ASP.NET MVC output cache with dynamic fragment

How could I cache an entire page except a bit at the top which says something along the lines of "Welcome back, Matt! | Log Out" if the user is logged in and so-on? I'm using ASP.NET MVC 2. ...

cache lite / memcache

i have a function that build query depending on which page user is at, by parameter array value, once it build the query, then it returns, so we can execute it and get the desire result we want. well we need to put cache on it, so we can speed up things and im really confuse on how to make cache id, sence the query is kind of dynamic ...

How to Cache RAND() random images in PHP MYSQL

How to Cache RAND() random images in PHP MYSQL use to be cache for 5 seconds then on refresh its change images reply ...

How do I force Django to ignore any caches and reload data?

I'm using the Django database models from a process that's not called from an HTTP request. The process is supposed to poll for new data every few seconds and do some processing on it. I have a loop that sleeps for a few seconds and then gets all unhandled data from the database. What I'm seeing is that after the first fetch, the pro...

"caching" an array of database values in php (2 options, which is better?)

(I use the word var in the following because I'm not sure what it is I think it's a global variable for the class) I want to cache values that are gotten from a table in a database, to save repeated queries. What I've done is create a singleton class which has a function to check a var within the class if a key exist, if it does then ju...

how to refresh magento tier price cache after sql insert

Hi, I've imported new tier prices into the magento database using the sql shown below and when I view the product in the admin, the tiers are correct. However, on the front-end, the tiers are not displayed under I Save the product in the back-end. I've deleted the var/cache, rebuilt the Catalog Index, refreshed Inventory Stock Statu...

Using RavenDB as a persistent cache

I have currently have a web application that caches a large amount of data (several hundred thousand entries) in memory for quick lookup and then in SQL Server as a persistent cache. Basically the information consists of geocodes of addresses where the geocode is retrieved via a remote web service which takes time if needed to be called ...

how to download file from a server that's downloading file from another server ?

what is it called when a client downloads file from a server that's downloading the file from another server ? Is this implementable in apache ? or php ? ...

Receive Cached Data after http status code 204 recevied

I use NSURLConnection like this (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse )response { if ( [response isKindOfClass:[NSHTTPURLResponse class]]) { int code = [(NSHTTPURLResponse)response statusCode]; } } i get a response whose statusCode is 204,then i send another request,but all responses i r...

Prevent Image Caching in MVC 2 C#

I have a profile image upload page, where users can overwrite their previous profile picture. But when I return the users to their profile page the browser has cached their previous image and only an F5 refresh returns the new image. Is it possible to prevent the browser from caching the image, as some users might think their new uploa...

Manipulating browser cache

A web app I'm developing uses lots of asynchronously loaded images that are often modified over time while their URLs are preserved. There are several problems with this: If I do not provide the images with caching explicitly disabled in HTTP headers, the user will often receive an out of date image version, but doing so substantially ...

Why is APC incrementing "Cache full count" for User Cache even though it has plenty of memory available?

I've played with this for quite a while but am at a bit of a loss as to what to do. I'm using APC 3.1.3p1 on CentOs 5 with PHP 5.2.5. APC is acting as both the opcode cache and user cache. Mostly this server runs Drupal 6 sites using the CacheRouter module for APC cache support. I was running APC 3.0.19 for a while but it was causing...

Which Java collection should I use to implement a thread-safe cache?

I'm looking to implement a simple cache without doing too much work (naturally). It seems to me that one of the standard Java collections ought to suffice, with a little extra work. Specifically, I'm storing responses from a server, and the keys can either be the request URL string or a hash code generated from the URL. I originally t...

visual studio using old xap

I am debugging my silverlight application. This application reads an xml file to draw some stuff. Everytime I change my xml file, refreshing the page does not display the new results. I have to get back to visual studio and hit Ctrl+F5. I have added random query string in my xap url <param name="source" value="ClientBin/SilverlightOrg...

New-Cache parameters for AppFabric Cache when storing ASP.NET Session State

What are the "optimal" parameters for creating an AppFabric cache when you will be storing session state in the cache? MSDN Cache-Related Commands Powershell command line: New-Cache [-CacheName] <String> [-Eviction <String>] [-Expirable <String>] [-Force [<SwitchParameter>]] [-NotificationsEnabled <String>] [-Secondaries <Int32>] [-Ti...