Shared Cache Provider for NHibernate
What's best shared cache provider for NHibernate ? Providers pros & cons are welcome ! ...
What's best shared cache provider for NHibernate ? Providers pros & cons are welcome ! ...
I'm creating an iPhone app that will pull data down from a Web API, including email addresses. I'd like to display an image associated with each email address in table cells, so I'm searching the Address Book for images and falling back on a default if the email address isn't in the book. This works great, but I have a few concerns: Pe...
Hi all, I am currently using Google AppEngine(Java) to build a web site. I created a bean to be cached in the memcache, when I retrieved it from the memecache and called some methods on it to update its status, do I need to re-cache it into memcache? I guess that memcache used its reference, so I should not need to do it. But things ...
I know that i can use the VaryByParam attribute, but what it does is not exactly what i am aiming for. What happens is that different versions of the page are cached based on the query string. For example Page.aspx?ID=Tom has its own cached version and ID=Arnold has another. Now what i want to do is not to cache Arnold at all. I only ...
The benefits of using SQLite storage for the template cache are faster read and write operations when the number of cache elements is important. I've never used it yet,but how can using SQLite by faster than plain file system? IMO the overhead(initiating a connection) will make it slower. BTW,can someone provide a demo how t...
hello, i have an iphone web app wich uses a cache.manifest file to successfully cache files. the problem starts when i want to update the app while it uses the old files because of the cache. how do i make the cache.manifest file to update the new files correctly? can i define a version or something? thanks! ...
So, the @cache_page decorator is awesome. But for my blog I would like to keep a page in cache until someone comments on a post. This sounds like a great idea as people rarely comment so keeping the pages in memcached while nobody comments would be great. I'm thinking that someone must have had this problem before? And this is different ...
I'm rewriting a template for a wordpress based site which has some issues with load speed and I'm looking for the best way to speed things up on the code side first. Since the site uses many "boxes" (like headlines, most views, recent comments, post of the week, and so on) which are reused in many different pages, I thought about a syst...
Is there a free, open source solution to the fact that vanilla subversion does not do log caching? I really just want to use svn as is, except that I hate waiting for it to download the log entries. ...
I have a situation where information about a user is stored in the web application cache and when that information is updated in one application - I want to notify the other applications (running on the same machine) that the data should be removed from it's cache so it can be refreshed. Basically I need to keep cached data in sync acros...
If I have lots of objects that I want to cache how would I go about compressing that data? It will mostly be string data which may be relatively small, but if I end up having a ton of those in cache the size would add up. I have memory limits, but my CPU is only hitting 15% at peak. I think I heard that stackoverflow was doing something ...
I have been doing a lot of reading but not coming up with any good answers on LinqToSql caching...I guess the best way to ask my question is to just ask it. I have a jQuery script calling a WCF service based on info that the script is getting from the 1st two cells of each row of a table. Basically its looping through the table, calling...
I'm developing an iPhone app that uses a user account and a web API to get results (json) from a website. The results are a list of user's events. Just looking for some advice or strategies - when to cache and when to make an api call... and if the iPhone SDK has anything built in to handle these scenarios. When I get the results from ...
I am using a custom cache backend to wrap the built-in cache backends so that I can add the current site_id to all the cache_keys (this is useful for multi-site functionality with a single memcached instance) unfortunately it works great on the django built-in devserver, but give a nasty error when I try to run it on the live server wit...
I'm using simpleXML to go through the XML results of a Twitter XML file, but I'm completely lost as to caching the results with PHP. This article seems to be of some help, but I've come across memcache (and memcached. C'mon, namers.) as well, and I have no idea what to do. I'm using this: $sxml = simplexml_load_file( 'http://api.tw...
Hello all. I want to know how make NHibernate store my queries at 2-nd level cache for specified time I see it only for entities cache. Thank you for replying. ...
Hi everyone: I am embarrassed to ask, but what is the best way to add key/value pair data in cache (HttpRuntime.Cache) to a DataTable? I'm currently dumping the key/value pair data from cache into a HashTable, which becomes the DataSource for a Repeater object. Unfortunately, I cannot sort the data in the Hashtable and therefore though...
I'm trying to create a jboss-cache for data that is only relevant for a short period of time. After that time the data should be discarded and the respective memory freed. The cache is organized like this: /my_region /session_1 /datanode_1 attribute1: value1 /datanode_2 attribute2: value2 ...
I'm writing a test to see if my getHibernateTemplate().delete(x) works. Now I've discovered that in a single test there seems to be some caching (my test class extends extends AbstractTransactionalDataSourceSpringContextTests). What I mean is the following. My delete function: does it exist? yes: delete it and return true no: return f...
How to do I prevent a Silverlight XAP file being cached by the web browser? The reason I want to do this is during development I don't want to manually clear the browser cache, I'm looking for a programmatic approach server side. Cheers AWC ...