Our website is an AJAX website that makes no page requests after the initial start up of our website. Information is communicated with the server through XMLHttpRequests.
Our website allows users to work online and offline without a connection during a user session. When a connection is detected our website "synchronizes" with the s...
I'm setting what I think are the correct HTTP Headers for caching from PHP and am getting a 500 error on every second request.
Can anyone point me in the right direction?
The code doing the caching is:
<?php
header('Content-Type: text/css');
$content = file_get_contents('test.css');
header('Content-Length: '. strlen($content ));
$e...
On my service, I've added the following method:
protected override void OnStartProcessingRequest(ProcessRequestArgs args)
{
base.OnStartProcessingRequest(args);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.Public);
HttpContext.Current.Response.Cache.SetMaxAge(new TimeSpan(1, 0, 0));...
I need simple and free write-behind cache for .NET. Does not have to be 100% reliable or fast. I have a growing website and I need something till Microsoft finally releases Velocity which should have write-behind in the near future.
Do we have a simple write behind cache implementation for .NET?
Do we have any .NET code samples on writ...
Hi,
Memcached provides a cache expiration time option, which specifies how long objects are retained in the cache. Assuming all writes are through the cache I fail to understand why one would ever want to remove an object from the cache. In other words, if all write operations update the cache before the DB, then the cache can never con...
Can anyone explain why you cannot insert a null object into the ASP.NET cache?
string exampleItem = null;
HttpRuntime.Cache.Insert("EXAMPLE_KEY",
exampleItem,
Nothing,
DateTime.Now.AddHours(1),
System.Web.Caching...
Does anyone know how to find out (programatically) how much bytes are currently used by HttpRuntime.Cache?
...
I'm currently developing a site in ASP.NET Webforms..
I'm caching things where it makes sence... adding things using High / Normal / Low priority..
telling them to stay in the cache for 2 weeks, 1 week, 4 hours respectably
im showing the current number of cached items on every page (for debug reasons).
sometimes if i travel through t...
I'm trying to use donut-caching on the Site.Master page for things like the User Login and Shopping Cart, so that we can put OutputCache on some of the more resource intensive pages in our app.
Currently, I'm using the tag and then writing out the html from the static method in the code behind.
<asp:Substitution ID="Substitutio...
I am using WSS 3.0 in a hosted/shared (read: can make no server-side changes) environment. Unfortunately, between SP and IIS, almost nothing is getting cached, so page loads can be terribly slow.
We have a bunch of custom image, JS, CSS, etc files that are currently just in a /img, /js, and /css directories, all of which are grabbed ea...
Hi,
I'm not a good programmer and I just started using jQuery. I need a table sorter that can expand and collapse rows. My code is below. I've spent lots of time trying to improve its execution time. In IE it takes lots of time. I'd appreciate your suggestions.
$(document).ready(function() {
$('table.sortable').each(function() {
...
My current tools include YSlow, Fiddler and the new PageSpeed.
My questions is: is there a better tool for finding out exactly WHAT the browser is caching, WHEN it's caching it, and WHY other assets are not caching.
A brain-dead simple explanation of HTTP headers, vis-a-vis caching would also be useful. The more gotchas the better, s...
Can anyone explain a best practice approach to implementing a cache buster in SASS? Meaning, on 'compilation' of my CSS, it appends a timestamp to images files. E.g.,
The following SASS code:
!sprite="gubs.gif"
ul
li.selected
:background
:image= image_url(!sprite)
:repeat no-repeat
:position= "right" -222px
S...
I am at a point where I need to take the decision on what to do when caching of objects reaches the configured threshold.
Should I store the objects in a indexed file (like provided by JCS) and read them from the file (file IO) when required or have the object stored in a distributed cache (network, serialization, deserialization)
We a...
IE has WinInet API, such as GetUrlCacheEntryInfo, to read and manipulate IE browser cache.
Is there a similar API for non IE browsers such as Firefox or Chrome? If so where can I get more info?
Thanks
Update:
According to following (http://stackoverflow.com/questions/61453/accessing-firefox-cache-from-an-xpcom-component) the WinInet...
hi;
the ezSQL is nice script to use , but for some reason when you update db and run script again , it does not update the cache .
any advise ?
tks
...
I'm trying to figure out the best way to do caching for a website I'm building. It relies heavily on screen scraping the wikipedia website. Here is the process that I'm currently doing:
User requests a topic from wikipedia via my site (i.e. http://www.wikipedia.org/wiki/Kevin_Bacon would be http://www.wikipediamaze.com/wiki?topic?=Kevi...
Hi,
I'd like to use memcached to cache the response produced by my controllers. The controllers themselves are Grails controllers, but there's nothing really Grails-specific about the problem. If I could figure out how to solve this problem in a Spring MVC, Struts (or similar) application, I should easily be able to migrate the solution...
Hi everyone.
I am searching for a java framework that would allow me to share a cache between multiple JVMs.
What I would need is something like Hazelcast but without the "distributed" part. I want to be able to add an item in the cache and have it automatically synced to the other "group member" cache. If possible, I'd like the cache ...
I'm needing to fix a bug in an ASP.NET 2.0 app that uses ActiveReports 3.0 to generate reports from a SQL Server stored proc source. The report runs fine, but the data was incorrect, so we fixed the stored proc and reran the report through the ASP.NET interface.
What we're seeing is that ActiveReports is still displaying the early ve...