A strange issue.. and probably some key thing I am missing...
I am using the MS Enterprise Library version 5.0.. specifically the cache engine.
I have a website where from a certain page I do the following:
Cache some values I need for the next page or two..
Go off to another site - actually a payment site..
That payment site returns...
How do I force LINQPad to give me a non-cached result from a LINQ2SQL query?
The scenario is this:
1) examine some data (from a in MyThings where ... select a).First();
2) modify data outside LINQPad immediately after (service call)
3) re-examine some data (from a in MyThings where ... select a).First();
It seems to be caching results...
I'm using the jQuery AutoComplete plugin to pre-fill a field called 'Model' depending on the name of a 'Car' entered in a previous field.
However, if the user types in 'C' in the 'Model' text box, and then changes the manufacturer and types 'C' in the Model text box again, the same models appear. I believe this must be a cache issue wit...
The task is relatively straightforward:
A Drupal website displays a list of articles with thumbnails. Some visitors would like to view it without images by clicking on a button/link and have that preference saved.
e.g. http://patterntap.com/collections/index/
The problem is all visitors are anonymous and given certain traffic, page ...
Hi,
I have a class representing a set of values that will be used as a key in maps.
This class is immutable and I want to make it a singleton for every distinct set of values, using the static factory pattern.
The goal is to prevent identical objects from being created many (100+) times and to optimize the equals method.
I am looking ...
I am creating an aspect to apply to methods that checks the cache for a return value, and only permits procession onto the logic of the method if the cache is empty or stale.
I need to generate a cache key for the storage of this information that is unique to the method call for a given set of arguments. My initial hunch is to implement...
I'm working on a sortable table, that is refreshed asynchronously when the column headers are clicked. The parameters determining the column I'm sorting by and the direction are stored in the query string. The first time I click the header, the table is sorted by that column ascending, the second time it's sorted descending. But the thir...
What can I do to avoid the repeated loading of static data every time a page is loaded in ASP.NET MVC2? This is pretty wasteful, and I would like to fix it.
My master page has the typical User Name + Company Name display in the top right corner. But because of the stateless nature of MVC, this data has to be looked up every single time...
I need to refer to a controller method from a cache observer, How can I make it?
...
I have put together a small ASP.NET MVC 2 site that does some very extensive date mining/table-joins/etc.
Using MVC, I have a controller that returns the data in many different forms (tables, images, etc). To save hitting the database frequently I have a dual cache mechanism:
For identical parameters to the same action I use the O...
I am building a web application in jQuery/HTML5 which will run in Webkit-based browsers on touchscreen kiosks.
There are a large (thousands) number of images which the application uses, which I need cached to each browser.
At first I thought a HTML5 cache manifest would be the best option (with the thousands of image URLs listed), but ...
I am using the Hibernate 3.5.1 and EntityManager for data persistence (with JPA 2.0 and EHCache 1.5). I can obtain the query by the following code:
EntityManager em;
...
Query query = em.createQuery(...);
...
Now, the problem is that EntityManager's createQuery() method returns javax.persistence.Query which, unlike org.hibernate.Query...
I'm working on a mobile site for the iphone. I've added a cache manifest and loaded it with a list of resources needed for offline capability. The manifest file has the correct content type. If you view the response header for the file, the content type is text/cache-manifest. The manifest file is here:
http://hoodisgood.clientsit.es/c...
Hi,
Do we get any undesired results when we use application cache in combination with page cache in php?
Thanks & Regards,
Satya
...
What is difference when .NET assemblies are stored at shared location and GAC?
...
I have been researching and have some few ideas about a distributed caching system for a in memory key-value store with replication and all the jazz associated. SO I wanted to know from the community what is the best language/framework/technology mix i should go for.
...
In order to be able to so some benchmarks I need to cleanup Windows disk read cache. How can I do this?
In fact I want to compare if loading a big Unicode file (UTF-8 or UTF-16) from disk is faster or not, considering that in memory I do keep UTF-16.
I know that it should be no significant difference but in order to benchmark it I nee...
Here is my simplest structure
Customer
CustomerID
FirstName
LastName
...
BrokerID <- Navigation Property created with this FK
Broker
BrokerID
FirstName
LastName
Now my question is, if I load multiple customers, and I want to see list of customer and I also need to see the Name of Broker associated with the cus...
I am working on a web app in ASP.NET/C# which needs to be scalable to handle the high user load (will probably run in a web farm). Since it will cater to a high number of users, around 1 Million plus, but number of online users would be around 30K-50K. I plan to use caching (provider based), and was wondering:
Is it a good idea to cach...
Hello,
I've configured my IIS 6.0 load-balanced website to have empty ETag headers, per what YSlow recommends for load-balanced websites.
Both before AND after I configued this empty ETag header, I got all images being cached on the client side, but with primed cache it was still checking for new versions on the server and returning a ...