I'm looking to implement a disk based caching system. The idea is to allocate a certain amount of disk space and save however much data fits in there, discarding of old files as I run out of space.
LRU is my first choice of deletion strategy, but I'm willing to settle for FIFO. When googling for cache algorithms, the discussion seems to...
Hello all
I am developing an iPhone app which is a location aware app .
Currentlly the app is working fine except the caching of previous location .
The first time I start the application location manager fetches the current location and then I display nearby things based on the current location .
But from the next it uses previousl...
How would you cache GeoKit requests?
This does not work for me...
Geokit::Geocoders::query_cache = true
Geokit::Geocoders::query_cache_max_age = 86400 # 1 day in seconds
URL: http://github.com/seebq/geokit-gem
...
OK, so I know you can put $Revision$ in a file, and then set the svn:keywords property on that file so that whenever the file is committed, that variable is replaced with the last committed version number.
I'd like to use this concept to implement a smart caching layer for my template files. I plan on using the svn revision number as pa...
I'm trying to test the utility of a new summary table for my data.
So I've created two procedures to fetch the data of a certain interval, each one using a different table source. So on my C# console application I just call one or another. The problem start when I want to repeat this several times to have a good pattern of response time...
I have a column of 500 names <30 characters, that are accesses via jquery autocomplete plugin as a drop down list. SHould I data cache this list wich will not change very often, or will i not gain much of a performance benefit?
...
My apologies in advance if this turns out to be a novice question. At the moment, my main frustration/oblivion stems from the absolutely confounding nature of performing a search for my particular problem.
I am using a variety of htaccess rules to ensure that my css, css images, and javascript files are caching. Based on the header resp...
After upgrading an application from ASP.NET MVC 1 to ASP.NET MVC 2 RC cache substitution has stopped working.
This is my action:
[OutputCache(Duration = 30, VaryByParam = "none")]
public ActionResult CacheTest1()
{
return View("CacheTest");
}
This is the Substitute extensions:
public static object Substitute(this HtmlHelpe...
Hi,
I have a little problem with caching the images in the browser for my app-engine aplication
I`m sending last-modified, expires and cache-control headers but image is loaded from the server every time.
Here is the header part of the code:
response['Content-Type'] = 'image/jpg'
response['Last-Modified'] = current_time.strftime('%a, ...
I have some java code which allows users to reset their passwords stored on a LDAP server. The code runs as part of a web application running on Glassfish.
The problem I'm seeing is that after calling the change password operation, the user can subsequently use either password to access the application.
I have a unit test which runs...
I have a website which useses a mysql database for its whole operation . But for a new requirement i need to query a external oracle database( used by other component) and compile a list of items and display in a page in the website. How is it possible to connect to a external database just for rendering a single page.
And is it possib...
I think that perhaps the original question was too long-winded with too many unnecessary details, so this is my attempt to simplify.
I am looking for a means to perform any of the actions below. I only need to do one, not all. If anyone knows the answer to even one of these, please respond. So, is it possible to do any of the followi...
Hi All,
I am having a weird situation. I worked on a magneto ecommerce website. My friends and I can see the products on the website, but only my client can't see any of them.
I suspected magento cache, so I refreshed and disabled all the caches. My client still can't see all the products. I made him to clear browser cache. It didn't w...
I would like to reset/clear an item in the Cache, but without resetting the application or writing a specialized page just for this. ie, a non-programmatic solution. Is this possible?
...
I'm looking for a way to cache a page at both the client and the server while varying the server's output cache by a querystring parameter "Version".
With this tag:
<%@ OutputCache Duration="10" Location="Any" VaryByParam="none" %>
I get these headers:
HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/html; charset=utf-8
Expi...
I've encountered a problem with JSP pages server-side caching.
Suppose I have an internal error page which is a custom JSP that will display a unique ID each time it's visited/requested. This unique ID is also logged in the server log for debugging. However, I noticed that if I implement the error ID using:
<%!private String <b>abc</b>...
I am building a simple BIRT report using an XML data source. However, I had to use 3 different views (3 cross-tabs) of the same data on the same report. While running the report, I noticed that BIRT was firing multiple calls to fetch the XML file (hosted in a web-server). I have tried fiddling with the settings tab of the edit screen of ...
Hi,
I am creating a web application and am having an issue with my cacheing.
My application has a large amount of data that I want to try and not call from the sql database everytime i need the info.
I have tried to use caching in the following way:
public static List<DAL.EntityClasses.AccountsEntity> Accounts
{
g...
How do I get git-svn to forget the svn authentication details ?
We have a pairing machine running windows server 2008 on which we have a git repo and we check-in to a central subversion repository. I want git to prompt me for my subversion authentication details each time I check-in.
I have removed the subversion files from under %APPD...
Hello, i just read this article : https://developer.mozilla.org/en/HTTP_Caching_FAQ
There's a firefox behavior (and some other browsers i guess) i'd like to understand :
if i take any webpage and try to insert the same image multiple times in javascript, the image is only downloaded ONCE even if i specifiy all needed headers to say "do...