I need to add a cache to my Java app, and I'm considering using JCS.
The last JCS release was done in June 2009. Is JCS still being maintained, or has the project been abandoned?
I realize that anyone can look at the svn checkin log for JCS. What I would ideally like is an answer from someone who is a JCS committer, or who is directl...
Following problem:
I create a Query to display all Entries of a MYSQL Table, if I edit a Field and execute the Query again I get the same (old) Result as in the first query.
It seems that Hibernate caches the Result. I tried to disable Caching with
query.setCachable(false)
"hibernate.cache.use_second_level_cache"
"cache....
I am wondering about potential issues with – alternatives to - caching using an application variable. To preface, I have a custom application object that stores all application data in ONE application variable – the object organizes data in an XML cloud and stores the cloud in one variable for performance.
I am aware of DataSet caching,...
I have a Rails app installed on a Slicehost server running Apache 2 and Ubuntu LTC 10.04. Things have worked beautifully up until now: I edit a file, do a quick mongrel_rails cluster::restart, and the changes are reflected in production. However, suddenly this process has broken down.
For example, I have a class called Master located i...
How can i read/write to the cache for a periode of time i.e 10 seconds and then commit the changes to the database?
...
Hi folks,
If i have an item that already exists in my ASP.NET Cache ... and I just wish to update the value of that cached item .. not the Absolute Expiry value, or Cache Dependencies, etc.. nothing else BUT the value ... can I use Cache.Insert?
If not, is there anyway I can retrieve all those values for the cached item .. and then re-...
We're building a set of external web services to be consumed client-side (using jquery/AJAX) by visitors to our site. The web services need to be publicly available but we'd like to limit access to site visitors.
Importantly, the site in question sits behind a CDN and we cache page content for 24 hours; AJAX requests would preferably b...
Hi!
I'm hosting a multi area solution written in PHP, and each customer has its own template in some HTML files. Now I want these users to be able to use some chunks of dynamic content, but they can't be able to use PHP. I thought something like:
In the HTML file, if I put this:
<ul>[menu-list]</ul>
Will output something like:
<ul>...
I have the nginx reverse proxy to IIS to cache the images...
now I have config the like this:
user root root;
worker_processes 8;
worker_rlimit_nofile 51200;
events
{
use epoll;
worker_connections 51200;
}
http
{
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 128;...
In Chrome and Safari a remote image included on my site never seems to get requested with caching-friendly headers (If-Modified-Since, etc) despite the server returning the appropriate information. Local resources, on the other hand, are requested with these headers. In contrast Firefox requests the remote resources with caching-friendly...
Hi everyone,
I have several textboxes in my web application.I want them to remember history when user double click on it like autocomplete operation,but they never remember.is these textboxes remembers if they are in only form field?I couldn't do that.
Thanks in advance...
...
We have a situation, where we feel we do not fully take advantage of NHibernate's capabilities, which reduces performance. The actual situation is reduced to a "blogs with posts" example for this question.
A blog site, where each user can have its own blog which has an arbitrary number of posts. Therefore, there is a table for posts def...
Does anyone know alternatives to GeoWebCache (GWC)?
There's TileCache, but it seems to be "dead" in terms of no more development taking place. In addition to that i can't figure out how to cache a protected WMS with TIleCache (basic auth).
...
Hi all!
I've a php script that only produces logs to the client.
When I echo something, i wan't it to be transfered to client on-the-fly.
(Because while the script is processing, the page is blank)
I had already played arround with ob_start() and ob_flush(), but they didn't worked.
What's the best solution?
PS: it is a little dirty to ...
Hello,
An application I work on generates PDF documents and renders them in a browser window. Some of the data in the documents can be considered sensitive so we're exploring how to prevent the browser from caching the document contents. We're using the following Java code which prevents caching in Firefox but doesn't work in IE 8:
r...
Hi,
I am currently in the process of investigating the various different caching mechanisms out there whether they be free or at some cost (minimal preferably).
The situation. Currently we have to load-balanced servers that host our web application with a third server being an SQL server. This site is a eShop, and it gets hit quite reg...
while the method we use in Substitution control should return strings, so how is it possible to use a donut caching in web forms on a server control which should be rendered server side?
for example Loginview control?
...
How would you implement a cache class that supports timeouts using the new Concurrent Collections of .Net 4?
The cache class will be typically holding hundreds of thousands of entries. A very large part of the cache may expire simultaneously.
Unlike a typical web cache, which may shrink due to memory pressure, this class should only a...
Hi,
I need to load almost 100's of images in a single page on my website. ( product image, lots of them ). Whenever image change for product, url for that image also changes. i.e. for one url corresponding iamge never changes. Now I want to make sure that for a same person browsing through website, the image must not load again.
Is ex...
Hello,
I'm having hard time to decide between the following two implementations.
I want to cache the javax.xml.parsers.DocumentBuilder object, per thread. My main concern is runtime performance - Hench I would be happy to avoid as much GC as possible. Memory is not an issue.
I've written two POC implementations, and would be happy to ...