I have a webpage that plays about 15 videos at any given time. The videos change on a weekly basis, which are loaded from an external XML file.
Please look at the site here
www.hqwebvideos.com
The problem is that when my prospects view my site for the 2nd or third or fourth time, the previous XML video data is stored in their cache. ...
I have an ajax application where the client might lookup bunch of data frequently(say by key stroke), the data gets updated on the server side once or twice a day at fixed times by a demon process. To avoid visiting the server frequently, I store the data in a xml file, so the client downloads it once when the page first loads, then loo...
Hi guys
I have just started using OutputCache on some of my controller actions and I am not quite getting the response I would expect.
I have set the cache time to 5 minutes and the Expires header is coming up the same as the Last-Modified header which is the time that the request was made.
This is the header I am currently getting:
...
I have a blog written in Django, and I started using the basic Django caching middleware with the file system caching backend. Unfortunately, this led to two things being cached that shouldn't have been: admin links (e.g. "Edit this post") for logged-in users and
prepopulated comment forms based on cookies.
To get around that, I starte...
When testing various authentication solutions (my own LoginModule etc) in JBoss, it seemed to me that sometimes when I redeployed a change or otherwise provoked the login form to show, that JBoss didn't actually call the authentication module.
Just wondering if there is some type of short term caching going on?
I tested both from a web...
Hi guys
I'm using asp.net MVC with output caching (the OutputCache attribute) on some of my controller methods and am getting some really weird results in the HTTP headers.
When I add the attribute to the controller action that handles the main page view. the following header is produced:
Date Thu, 16 Jul 2009 23:0...
Hi friends,
I have created a table. In one field, I have a priority of that record (between 1-9).
I didn't set priority for all the records, so for some records, it will remain null.
When displaying these records in my HTML page, I just check those priorities -- if the priority exists, then I will display as it is, if it's null, then...
A webservice i'm working with sends back a result set that equates to around 66980 lines of XML, .net returns this as a list object.
As the user journey requires that we can reload this set if they step back a page, whats the fastest/best way of storing this result set per-user without slowing everything down.
Ta
--
many solutions:
ht...
I have got a familiar problem. I am using Django-0.97, and cannot upgrade -- though the version of Django being used should not play any part in the cause of the problem.
I have a search view that presents a form to the user, and, on submission of the form via POST, performs heavy computations and displays a list of items that are gener...
I have read a few things here and there and about PHP being able to "cache" things. I'm not super familiar with the concept of caching from a computer science point of view. How does this work and where would I use it in a PHP website and/or application.
Thanks!
...
I'm writing a windows service application that needs to serialize and deserialize XML documents repeatedly during its execution. As I need to serialize and deserialize generic types that are not known during compilation time (I don't know a priori how many types I need to serialize/deserialize) I'd like to know if it is a good idea do ke...
Using ASP.NET MVC, I've implemented an autocomplete textbox using the approach very similar to the implementation by Ben Scheirman as shown here: http://flux88.com/blog/jquery-auto-complete-text-box-with-asp-net-mvc/
What I haven't been able to figure out is if it's a good idea to cache the data for the autocomplete textbox, so there wo...
Hi,
In general, I have the following scenario:
- Fetch product and its related data from database
- Convert fetched data to php 'product' object
- cache product object in session
The cache is readonly, i.e customers viewing products on the site.
But there are calls like getProductIdsByCategory($categoryId) and the productIds from thes...
Hi, I'm relatively new to proxies.
I am currently required to design a caching proxy for work.
We have a webservice which serves up data based on calls to it, naturally.
I am required to create a proxy for a rich client application that caches the results of these calls.
The results are basically string names of products identified by a ...
I am using jQuery.ajax (http://docs.jquery.com/Ajax/jQuery.ajax) to inject the contents of a different web page into the current page. Think of this as a "preview" window. jQuery has an optional cache argument which works great at loading the contents from the cache instead of requesting the same page again.
My problem is that the c...
Abstract
I am writing an application which has a few object caches. The way it needs to work is when an object is retrieved from the cache:
object foo = CacheProvider.CurrentCache.Get("key");
foo should be a local copy of the original object, not a reference. What is the best way to implement this? The only way I have in mind so far ...
I have noticed that when updating my web content files (in this case, a silverlight XAP file) the browser does not detect that the file has been updated, and continues to reads the locally cached file. These files will only be updated rarely, so reading from the cached temporary internet files should occur most of the time.
My question...
I have custom configuration section within web.config file. I'm lingering between:
Reading it into static class every time when I need any configuration value (because I guess that system already caches files when I open them (for instance when I run Word it takes longer the first time and much less on consecutive opens))
Reading it in...
Is there a library or framework that I can use to cache web pages locally for offline viewing on iPhone? If not, what's the best strategy for doing so?
Currently what I'm thinking of doing is downloading the HTML, harvesting its URLs, caching those URLs, then rewriting the HTML to point to local files. Is that the best way to do it?
Th...
looking for someone to verify whether this approach is good or not . let say i have web app A run on tomcat. By deploying one webcache web app on the same tomcat. will that minimum the likelyhood that my web app crash due to overload by web visitors? if yes, what webcache should i used to implement this technique? or should i forget ab...