caching

Hiding Previously Entered Data in Textboxes

I'm in the process of improving the security of an ASP.NET app and have modified HTTP response headers to clear the cache, disallow storage of the cache, and expire the page immediately on many secured pages. Since modern day browsers support Auto-Complete functionality, I am tackling this piece of the puzzle that allows users to view p...

Cached data Synchronization to Database

What are the best ways to keep data synchronized between in memory cache and the database when used in a web application? Specifically, I store large amounts of database data in an in-memory cache using EHcache on my web application. For many interactions, I would like to simply modify the value in cache, and only synchronize it with the...

How to get the flash cache file in safari webpage?

Now I am making a safari plug-in for get flash url. and then show it in my webview . But if I downloaded these flash before showing them, it took long time and maybe some time delay. how to find the method to get the flash local cache showing in safari? Thank you very much! ...

Why is one installation of IE8 (unexpectedly) loading pages from cache, while others are not?

I have website that is ASP.NET with Forms Authentication, clicking the logout button does correctly call FormsAuthenication.SignOut() so it invalidates the cookie. All machines in the office are using IE8 and work fine, just like Firefox. But one installation of IE8 will load cached copies of authenticated pages even after logging out w...

Performance of Sql subqueries\functions

Hi SO, I am currently working on a particularly complex use-case. Simplifying below :) First, a client record has a many-to-one relationship with a collection of services, that is, a single client may have multiple services associated with it. Within my trigger, I am writing a Query that returns a client's id based on certain criteria....

HttpCachePolicy and SSL

Hey everyone, I have an application that allows the user to download a csv. This works great when not using SSL. However, when using a secure connection I get the "Internet Explorer was not able to open this Internet Site". I know that the problem has to do with my HttpCaching policy. The following MS Support document explains the issue...

PHP - Memcache - HTML Caching

Hi, I would like to create a caching system that will bypass some mechanisms in order to improve the performance. I have some examples: 1-) I have a dynamic PHP page that is updated every hour. The page content is same for every user. So in this case I can either: a) create an HTML page, and that page can be generated every hour. In ...

Frequently Used metadata Hashmap

Are there any implementations of a static size hashtable that limits the entries to either the most recently or most frequently used metadata? I would prefer not to keep track of this information myself. I know most caching components keep track of this, but I would rather not introduce quite a lot of new dependencies. ...

how to retain the div contents after page refresh

I am creating a dynamic div using Jquery and I am trying to cache it so that, I will get it back after the page refresh, please help on how to achieve this, pasting the code below <script src="jquery-1.3.2.js" type="text/javascript"></script> <script src="jQuery.jCache.js" type="text/javascript"></script> <script type="text/javascript...

How to store object (not string) in session in play framework?

I have a project for school and I have to use Java. Recently I found play framework and I want to try to use it. It's easy enough for a quick start, but I ran into a problem with session. Being stateless by its nature, play sends entire session to user in cookie and receives it on next request, so it allows only limited amount of data i...

WCF FluentNhibernate Session managment and cache

hello, i'm trying to understand how and if its possible to keep a session open on a wcf service. the problem is that if i select an entity and pass it to the client and than return it to the server with the same session, i get an exception cause session dont know this entity any more (the reference changed because of wcf). so i have t...

cakephp + cache query + after refresh lost all data except cachedata

hello world! in my controller i cache some paginatedata. after refresh (f5) i get only the data from the cachequeryfile but i lost ALL other data in my view. why? cachingmethod: file cakeversion: 1.2.5 codeexample: $url="home_page_1"; if(!Cache::read($url)){ $data = $this->paginate('Article'); Cache::write($url, $data); } $da...

java plugin cache and dynamic IP host

I'm trying to use Amazon S3 and Amazon Cloudfront CDN to deliver the jar files of my applet application. I'm seeing several cache misses of my jars by the java plugin. This is a show-stopper for me, as the size of my application is around 3Mb, and I can't make my customers re-download the application every time. The problem is that, du...

Tools to see Session and Cache data for ASP.NET?

I am working on a ASP.NET web application that uses the Session heavily. Recently, we have experienced negative performance due to excessive memory consumption. I am interested to know if there are any tools to run against the server to check what is being stored by the web app in the Session/Cache/Application to determine the size of th...

How can I cache instantiated objects?

I used to have a situation where I hit the database a every time I needed information on an employee. Then I taught myself about data caching and have since cleared up that problem substantially. Now, I'd like to take it to the next level. I'd like to reduce load times by caching my object instantiation. I'm not sure that I'm being cle...

Cakephp is not redirecting properly when pages are cached.

I am having some issues with a site that was working correctly until i implemented full page caching in CakePHP. I have followed the guidance in the Manual and have my $session->flash in a no-cache block as so: <cake:nocache> <? if($session->check('Message.flash')){ $session->flash(); } ?> </cake:nocache> However, whenever a ...

MySQL storage engine decision

Hello,I am a web designer from the Netherlands. I am sort of new to building web apps from scratch, i have always used CMS, and customized them. I am building a Auction website in php/mysql, which is finished. Recently i read a few articles about storage engines. I have a few question that have been bothering me for a while now: ...

Session-ID and Browser-Caching => Are Browser intelligent enough to strip of SessID?

Hello Experts, I have a big question: Please see the example link below. My application currently appends to all "resources/links" a Session ID. I more or less stumbled upon this by accident looking in the Firefox Cache: http://localhost:8080/jquery-ui-1.7.2.custom.css;jsessionid=A8483FBF3BB6DDA499E06210BE0D612C My big question is, ...

recent items display - caching technique?

We have an ASP.NET application in which on the master page we have a user control that displays the most recently accessed entities by the user. To prevent database trips for every page load, we have enabled the caching for this user control by setting the outputcache directive as follows: <%@ OutputCache Duration="1200" Shared="true" ...

Managing Cache Invalidation

Just wondering how you guys manage your cache invalidations. Given that there might objects (hundreds and thousands) in the cache that might be triggered by different algorithms or rules. How do you keep track of it all? Is there anyway you can reference the relationships from a table in the database and enforce it somehow? Do bear w...