caching

memcached limitations

Has anyone experienced memcached limitations in terms of: # of objects in cache store - is there a point where it loses performance? Amount of allocated memory - what are the basic numbers to work with? ...

Caching always loading files in PHP

In my index.php file I always load some classes used later in code. From profiler it states it sometimes can take about 20% of entire code. Is there any impovement that can make this process faster? I would try to make this list of classes shorter, but app is very big and checking all dependencies will be costly. ...

Oracle record history using as of timestamp within a range

Hi all, I recently learnt that oracle has a feature which was pretty useful to me - as the designer/implementator didn't care much about data history - I can query the historical state of a record if it's available yet in the oracle cache, like this: select * from ( select * from sometable where some_condition ) as of t...

bypass FreeMarker caching?

Is it possible to bypass the Freemarker cache when certain templates are requested? I realise that I'll probably have to implement my own TemplateLoader in order to do this, but even so, I can't see a way to check the cache when say template A is requested, but bypass it when template B is requested? If this is not possible, I'll just h...

Caching variables in the $_SESSION variable? [PHP]

I'm making a php web application which stores user specific information that is not shared with other users. Would it be a good idea to store some of this information in the $_SESSION variable for caching? For example: cache a list of categories the user has created for their account. ...

ASP.NET MVC Caching vary by controller action parameter

Is there any way I can vary caching by a controller action parameter using the outputcache attribute? We have varybyparam which will not work if my parameters are embedded within the url in a REST manner. Thanks ...

How do I set the ideal QPixmapCache::cacheLimit?

I have just started using QPixmapCache and I was wondering, since there is not much documentation, about how to adjust the size based on the system the application is running on. Some users might have lots of free memory while others have very little. I have no idea what the best setting would be. What would be the best way to detec...

Why is the Internet Explorer Autocomplete feature disabled for all html forms on my website?

When Internet Explorers AutoComplete is turned on for Forms the entries for each field in the HTML form should be cached and displayed as a prompt when the user starts entering content into the form the second time around. On my website the AutoComplete feature is never displayed for any forms that exist on that site. But yet other w...

Problem with caching

I have an a aspx page, but all content is generated by hands(yes I know that I need to make a handler, I have another question) I want to cache output in client browser. Problem is that it's cached only for one query. public static void ProceedCaching(string etag, string lastModify, string response, HttpResponse Response, ...

Architecture and caching considerations with large XML files

I'm building a website to display products, and categories of products. The data comes from an external service in the form of a 500k XML file. The website is ASP.NET, C#. The XML is structured as a list of categories. Inside each category might be some products and/or some more categories. Obviously, we cannot call this external servi...

select list usage in asp.net mvc

I am working on an MVC site that is the first my company has done, one of the things I find myself doing a lot is creating selectlists in a controller, putting them in viewdata and reading them when creating a html.DropDownList. theer are a few things that strike me as smelly about the way i do it. 1) some pages can repeat lists of thin...

Coldfusion web application level query caching

Hi all, We have a number of web servers, each running one version of Coldfusion. The cluster has a load balancer on front of it. Obviously each of these servers has it's own CF application running and this implements query caching at the CF application level. However, since all of these servers service the one web application, many o...

Does Sql Query Notification work for clr stored procedures?

Trying to set up caching on our datasets - we're using clr stored procedures - The database doesn't seem to notify the application of data changes ...

How do I get ASP.Net CompositeScript to cache in the browser?

I have been trying to improve the performance of a web page that references several separate javascript files. I found the new CompositeScript feature in .Net 3.5 SP1 that allows you to combine scripts at runtime through the ScriptManager and it works great to reduce the number of hits on our server at page load. But the problem is tha...

Developing HTML email newsletter, problem with refreshing Apple Mail

I'm developing an HTML newsletter system using PHP & PEAR. It sends out the emails fine. However I cannot force Apple Mail to reload images from the server. I have tried: Restarting Mail Clear ~/Library/MailDownloads Clear ~/Library/Cache/Mail Empty Safari cache Does any one know where Apple Mail caches the images ? William ...

Strange caching(?) problem with ASP.Net MVC.

Hey all, Having an odd problems with ASP MVC deployed on IIS6 (Windows 2003). I've simplified the controller code to the below; <AcceptVerbs(HttpVerbs.Get)> _ Public Function CloseBatches() As ActionResult ViewData("Title") = "Close Batches" ViewData("Message") = Session("Message") Return View() End Function <AcceptVerbs(H...

Do you know a good cache technology which can be used in .net to share data between a server and many client ?

I'm trying to adress the following issue: I have a server side .net application holding a Dictionary of PONO: the cache. I have many client side .net User interfaces which can query some of these PONO, either by using the key or by asking the server to filter only PONO with a specific attribute value: the clients Edit: Clients are C#...

How to Check for Image in Cache Using Silverlight

I am creating a basic image browsing application using Silverlight. Depending on the user's connection speed, some images may take time to appear once they click on the thumb nail. I would like to show a progress bar while it is being downloaded. I have this part done. However, if the image is already in the cache (viewing a previous...

Expire Output Cache ASP.Net MVC

I am using the standard outputcache tag in my MVC app which works great but I need to force it to be dumped at certain times. How do I achieve this? The page that gets cached is built from a very simple route {Controller}/{PageName} - so most pages are something like this: /Pages/About-Us Here is the output cache tag that is at the to...

ASP.Net: Is it possible to cache the js-proxies generated by scriptmanager?

We have the following code: <asp:ScriptManager runat="server"> ... <Services> <asp:ServiceReference Path="~/JSONServices/ProfileService.svc" /> </Services> ... This results in a javascript proxy found in /JSONServices/ProfileService.svc/js this javscript has content expiry set to the same t...