I am using JCS to store the ldap search results which should be shared by multiple EJB. I have created a singleton class to initialize JCS only once but due to EJB's classloader, it's been initialized multiple times with its own copy. so search resources are not shared.
How are you guys resolving issue where you need to share the cache ...
I am using SoapExtensionReflector to modify the WSDL sent to the client due to a complex proxy setup. This modification is based on a query string variable:
whatever.com/Service.asmx?WSDL&customaddress=proxy.whatever.com
This works well, and the modification is successful. However, the WSDL is cached by ASP.NET the first time, so a s...
We all know how hip it is to make our Ajax calls using address routing and HTTP-Get with parameters in the URL because the client side can cache those calls and thus server load is reduced, but where do you guys think the line is between "a neat way to address resources" and "disclosure vulnerability"? I'll give some examples-
Let's say...
I'm attempting to make a php script that can load the current weather forecast and it uses a bit of XML pre-processing to digest the input, however it is accessed quite often and reloaded. The problem begins with my current host, which yes I do understand why, limits the amount of processing power a script takes up.
Currently takes an e...
Hi,
I am using C# and ASP.NET 3.5.
I stored a generic list in HttpContext.Current.Application so that all the pages of a website can have access to it. When I assign its value to a local variable on a local page for some local use, any change I make to the local variable gets reflected back in the original list in the Application State...
I'm having to store a Data set in cache for X min and when it expires i have it so that the next request will check if the cache exist and then goes and fetches updated data and set the Cache. The issue is that another user will come-in at this time and try to access the object and causing an exception to be thrown. How do i prevent this...
Well I have a very rough version of gomoku working now.
I'm using Jquery, Php and mysql database.
When a user clicks on a board square a piece is placed. An ajax refresh determines if turn count has been incremented and updates the board's html if necessary.
The problem is that Internet Explore (6,8,&probably 7) caches the page on the...
Hello, I have a list of Order objects.
These objects are shared across multiple users of my application, and change very infrequently while accessed often which makes them ideal candidates for caching.
The problem I'm facing is that I have LINQ queries against my MSSQL db which do sorting and searching - but how do I do this if I keep ...
I'm currently looking how to work with caching on my web application I'm buildning.
I have an ormapper (nhibernate, not using second level cache), and I have built a cache frame, built on System.Web cache, that I pass in the objects.
My question is. Are there open source cache frameworks someone can recomend?
Is their anything to gain ...
Do anyone have have an example how to set up and what entities to cache in fluent nhibernate. Both using fluent mapping and auto mapping?
And the same for entity relationships, both one to many and many to many?
...
I have a virtual path provider. Problem is its caching my files. Whenever I manually edit one of the aspx files it references the VPP doesn't pull in the new file, it continues to reuse the old file until I restart the site.
I've even over-rode the GetCacheDependency() in my VirtualPathProvider class:
public override CacheDependenc...
hey guys if i have an azure web app running under multiple instances how do i use asp.net cache. has the azure team written any cache providers for azure?
i read somewhere they are going to support velocity in future but if i have to go live with some app in next couple of months what is the best way i can cache my data (i dont want to ...
hi there
i have a webpage with a PHP switch on which I choose what page to display. A lot of the content is static and i wish to know how can i cache webpage for anonymous users.
can you help me with some ideas, links?
many thanks
...
I am having some issues with full view caching in cakephp.
The url that I would like to cache is /posts/badge/23/size:180x150 I have been able to cache the view successfully by adding $cacheAction = "1 hour"; to the controller.
Since I do not want to cache all methods in the controller (just specific methods) I tried to use the array s...
I'm about to take a look at how to implement internationalisation for an ASP.NET MVC project. I'm looking at how to allow the user to change languages. My initial though is a dropdownlist containing each of the supported langauages. Whoever a few questions have come to mind:
How to store the list of supported languages? (e.g. just "...
I was trying to find out which Entity Framework objects, if any, remain live after the end of an HTTP request that is being handled by ASP .Net?
i.e. Does an ASP .Net application benefit from any of the Entity Framework caching mechanisms across different requests?
This article describes the operations that are occurring under the hood...
In my application I want to add some items to my cache, but these items should be at most one day old.
Is there an OOTB way to set the maximum life for certain objects?
...
Hello
I have a high traffic website and I use hibernate. I also use ehcache to cache some entities and queries which are required to generate the pages.
The problem is "parallel cache misses" and the long explanation is that when the application boots and the cache regions are cold each cache region is being populated many times (inste...
Hi,
I was looking for HTML/Text content caching for small-mid size site using php. I'll mostly save the dynamic navigation-menu for site, generated HTML report from DB etc. Primarily I am looking for session based caching (is it a bad idea?). It can also be file based.
Any existing solution is much appreciated. For example Zend Framewo...
How can I tell browser that use the cache and do not revalidate (HTTP Status 304) within the expire time or close the browser ? (just an opposite the must-revalidate ^^")
ASP.NET
...