Update
I figured out that it must be caching problem but I can't turn cache off.
Here is my changed script:
<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery.ajaxSetup({
// Disable caching of AJAX responses
cache: false
});
...
is it possible to cache form contents on client side? Like maintaining state even if the form is un-saved and the user moves to a new page then returns back to the form?
...
I have written application using application block cache and was wondering what other people think on using single cache manager for all types of objects or creating many cache managers to handle for eache objects?
...
I was used caches_page/caches_action for some page, it set expire in a time(1 hour or 1 day), I don't expire cache when the data updated.
When the editors create or update the content them can't view the new result in the page.
I want to disable the global caching when the visitor IP in my company.
How to do it?
...
I've built a JAVA survey web application with 70 questions. All the questions have some html radio buttons to choose the answer. Those questions and answers are dynamically generated to adapt themselves to the user choices path.
After the user click on a radio-button my web application re-generates some HTML dynamically. It seems incred...
Hi all,
In my application, I want to cache the displayed data in tableview so that whenever the application starts or if the internet connection isn't there, my tableview should be able to display the cached old data [not completely but say 10 old cached cells].
What I'm displaying in individual cells is an object of one of the 8 clas...
I am using the HttpRuntime cache to store lists of objects and in our current project it was specified that the objects should be cached until midnight, so I am using DateTime.Today.AddHours(24) in order to set the absolute expiration date to midnight.
For example, if today is May 26th, the absolute expiration time will be set to May 27...
In my web.config for my very simple web app I have the code:
<sessionState
cookieless="false" regenerateExpiredSessionId="true" mode="Custom"
customProvider="NCacheSessionProvider" timeout="20">
<providers>
<add
name="NCacheSessionProvider"
...
Hi friends,
I worked on localhost to build my drupal site. then, I moved to server.
Steps:
Clear cache tables (Site Configuration > Performance > Clear Cached Data button) on localhost
Export db and then import on live server
Move files/folders to live server
Edit settings.php to reflect live server config
everything is working gr...
I would like to be able to log monitor/log when a local machine cache is being used or when the data is being drawn from the remote source.
is there a NSURLConnection.cacheExists method? Or better still one that shows the expiration date or other cache details?
...
Hi everyone,
I am having some second thoughts about where to implement the caching part. Where is the most appropriate place to implement it, you think?
Inside every model, or in the controller?
Approach 1 (psuedo-code):
// mycontroller.php
MyController extends Controller_class {
function index () {
$data = $this->model...
Hi everyone,
I have started to try APC to store some specific data on each webserver as an complement to memcached.
However, the following code piece is giving me headaches:
echo apc_store('key', 'value');
echo apc_store('key', 'newvalue');
echo apc_fetch('key');
// Echoes: value
Memcached example:
$memcached = new Memcached;
$m...
I am about to begin building a small application for a user to manage the content of a simple website. Since the content will be changing relatively infrequently, it struck me that it would be a waste to dynamically generate each page upon request--all of the content on the site will remain the same between edits. The simple solution I...
I was posting some comments in a related question about MVC caching and some questions about actual implementation came up. How does one implement a Model-level cache that works transparently without the developer needing to manually cache, yet still remains efficient?
I would keep my caching
responsibilities firmly within the
mo...
One of my javascript sources had an extra comma that was throwing an error in IE8. So I opened up my editor, deleted the comma, and saved. I reloaded IE8, but it was still pulling the old js file. I deleted everything in "Delete Browsing History...", and restarted the browser. It is still pulling the old file. I even set up a log on ...
Hi all,
I'm a lone developer for a telecoms company, and am after some database design advice from anyone with a bit of time to answer.
I am inserting into one table ~2 million rows each day, these tables then get archived and compressed on a monthly basis. Each monthly table contains ~15,000,000 rows. Although this is increasing month...
Hi,
I was just wondering and didn't find explicit response on what in the model class (ActiveRecord) is cached when setting config.cache_classes to true ?
Could someone tell me or point me to the doc I didn't found ?
Thanks
...
I am using eclipselink JPA with a database which is also being updated externally to my application. For that reason there are tables I want to query every few seconds. I can't get this to work even when I try to disable the cache and query cache. For example:
EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerF...
Both Page.Cache and Page.Application can store an application's "global" data, shared among requests and threads.
How should one storage area be chosen over the other considering scenarios of data synchronization in the multi-threaded ASP.NET environment?
Looking for best practice and experienced recommendation.
...
My app exposes a RESTful API using map.resources (eg: map.resources :comments). My comments controller caches_page :index, :show. In this way, I expose an XML API, so that a Flex app can post new comments. (eg POST to /comments.xml). This all worked fine until I enabled caching using the default filesystem store. Now, as far as I can ...