I'm using site wide caching with memcached as the backend. I would like to invalidate pages in the cache when the underlying database object changes.
If the page name changes then I would invalidate the whole cache (as it affects navigation on every page. Clumsy but sufficient for my needs.
If just the page content changes then I'd li...
I've noticed a lot of sites, including stack overflow append ?v=36556 to their static file path to force the browser to re fetch the new version. On the stack overflow podcast it was mentioned they do this as part of the build process. I'm just wondering if there is any existing msbuild tasks or utilities for doing this? Or should I j...
1) Can you recommend me a PHP accelerator for PHP V5.2.6?
2) Do you know about any recent test comparation/review of those modules(Alternative PHP Cache, eAccelerator, XCache, Zend Optimizer, Zend Platform, ionCube PHP Accelerator, Turck MMCache, Nusphere PhpExpress)?
...
I am using the following technique to cache some calls to my database - this function lives in my repository.
Public Shared Function GetByStoreURL(ByVal StoreURL As String) As Model.Partner
Dim key As String = StoreURL
If Current.Cache(key) Is Nothing Then
Dim objPartner = Model.DB.Select().From(Tables.Partn...
I'm putting assets to S3 with expiry headers, which successfully get passed through to CloudFront distributions. However, requests after the expiry don't result in CloudFront requesting a fresh file from the origin server.
I am also finding that query string version tokens don't force a fresh asset, and I don't want to use full, file na...
Is it possible to cache a jar file used in an applet on the client-side? I am reading conflicting information:
it appears you can set a "cache" parameter with <object> + <param>
However -
I guess <applet> is the preferred way to go? I have not seen any sort of cache attribute for the applet tag.
Does anyone know of a way to c...
My application uses client side enterprise caching; I would like to avoid writing code for each and every cacheable call and wondered if there is a solution such that WCF client side calls can be cached, even for async calls.
Can this be done with WCF "behaviour" or some other means? Code examples?
...
I want to build something to store and serve up time series data, which is coming in from a variety of sources at different time intervals. this includes both raw data and computed data. for example, let's say I want to log an every-30-seconds temperature reading, and a temperature forecast I'm calculating separately every 5 minutes.
I ...
Hi there
I generate some images using a PHP lib.
Sometimes the browser don't load the new generated file. How can I disable cache just for images created dynamically by me?
obs I have to use same name for the created images
...
I have a rails application where I would like to use both memcached and the file store cache, for different purposes.
I want to use the file store cache to keep a large number of pages that don't change often (some not at all) - i.e. page caching - and use memcached for everything else (action and DB caching etc). The reason is that the...
Hi,
I'm working on an application that displays several videos at once. The videos are stored in the form of directories full of image files. For each frame number, there are up to 9 images that must be loaded from disk. I'd like to implement caching and read-ahead for the images. This would be pretty simple, but the complication is ...
Under the hood, I was wondering what Control-F5 for a browser does.
To me, it clears the cache and refreshes images/text/controls/etc. I get that.
Question:
What about Flash objects? I've been trying to refresh a page with a Flash control and it doesn't seem to refresh to the latest. It would only refresh after I manually clear the ca...
I am looking at the Zend Server (PE and CE) and am woundering if its just a frontend for php.ini and automatically has Zend Optimizer which basically is APC(right?) in it or if it would actually be interesting for our development machine. Basically does Zend Server have any special sauce I can't get from opensource caching software and w...
I have a very strange problem. My application stack is J2EE based and uses Spring 2.5.6 with Spring webflow 2.0.6. The app server is Weblogic 9.2 with an Apache server in front (load balancing). We use SiteMinder Webagent as the authentication layer in apache.
The problem below could be caused by any of the layers above -
Our site pe...
I have a fairly large Rails app, which uses memcached on a seperate server as its cache store.
The problem is that I randomly get errors in the production environment which seem to indicate that memcached is returning an incorrect object.
Examples:
In this example, current_site is a helper method which accesses a method on the Site m...
I am writing a Console Application in C# in which I want to cache certain items for a predefined time (let's say 1 hour). I want items that have been added into this cache to be automatically removed after they expire. Is there a built-in data structure that I can use? Remember this is a Console App not a web app.
...
I'm trying to use Memcached and wondering if there is a way to remove the objects from the cache by key pattern rather than just one key per object.
Say, I cache user 1 with key "user1", then user 2 with key "user2" ..., is there a way to remove all objects with a key that starts with "user"? Or is there a way to get an enumerator from ...
Is there any way to Query against the objects stored by a Terracotta instance?
I am looking for SQL-Like Queries or any way to filter objects based on fields.
...
We have a client application that allows users to download full length 192Kb/s MP3 audio files. Because the files are stored externally to us as a business, we need to be able to:
1) Copy file from external location into a local Server cache
2) Copy that file to the client that requested it
Obviously further requests on the same file...
I have a c# client talking to a cherrypy(http/rest) webservice.
The problem is i can't both turn on compression and caching at the same time.
request.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
By leaving out the above line I get the correct caching headers (If-None-Math,If-Modified-Since) while ...