» Home » cache » Page 1
jquery and jsp - still saving in cache even cache:false and response.setHeader(“Cache-Control”, “no-cache”)
Category : Web Design

I have a problem. I still can see that my cache is still increasing after I have placed this codes on my jsp.

<% response.setHeader("Cache-Control", "no-cache"); %>

and in my javascript/jquery which resides on the same jsp:

function waitForMsg() {
type: "GET",
url : contextPath + "/groupChat",
View Replies

Differences of pragma: no-cache and Cache-Control: no-cache
Category : Programming Languages

I have two identical instances of the Java EE Application deployed in two different servers. However, in server A (HTTP, pragma: no-cache), page refreshes fine while in server B (HTTPS, Cache-Control: no-cache), page refreshes with old data retained. I'm curious about the difference since it's the only obvious difference in the headers sent.

View Replies

how to disable created cache files at cache/dwoo/compiled folder on codeigniter?
Category : Programming Languages

I've got serious problem with my storage on web hosting because of a lot of cache files that created on at cache/dwoo/compiled folder. I developed my website using codeigniter framework. I want to disable this feature (auto created cache files at cache/dwoo/compiled folder), because it using a lot of space on my storage. thanks..

by the way, sorry for my bad english :p

View Replies

Clear IE cache when using AJAX without a cache busting querystring, but using http response header
Category : Development Tools & Services

I'm having the classic IE-caches-everything-in-Ajax issue. I have a bit of data that refreshes every minute.

Having researched the forums the solutions boil down to these options (http://stackoverflow.com/questions/5997857/grails-best-way-to-send-cache-headers-with-every-ajax-call):

add a cache-busting token to the query string (like ?time=[timestamp])
send a HTTP resp

View Replies

ASIHTTPRequest Download cache problem - unable to save/load date in cache
Category : Mobile Programming

I am trying to save data into cache using ASIHTTP (http://allseeing-i.com/ASIHTTPRequest/How-to-use#using_a_download_cache). I am not sure what I am doing wrong but it seems not to be storing data into cache. The output of the following code is this:

2010-08-12 15:44:13.801 TabBar[51728:207] Success is YES
2010-08-12 15:44:13.802 TabBar[51728:207] Success is NO

View Replies

Cache-Control: 'private' makes 'no-cache=“set-cookie”' unnecessary?
Category : Network & Servers

My reading of the definition of the 'private' directive for the Cache-Control header is that it will prevent any part of the response from being cached by intermediate proxies. So based on that, it sounds like if I'm using the 'private' directive then there's no need to also use a 'no-cache="set-cookie"' directive to tell intermediate proxies to suppress caching of the Set-Cookie header.

View Replies

nhibernate memcache second-level cache multiple query cache regions, evictions
Category : Coding

Does the NHibernate-MemCache second-level cache stack support multiple query cache regions? If so, can I evict one query cache region without it clearing out cached queries in another region?

Some context: We're trying to optimize search results for entities based on two key attributes: location and type. Each query for a specific location and type gets its own query cache region

View Replies

Does cache absolute expiration guarantee that the cache is eliminated at the exact time?
Category : Programming Languages

I am using the HttpRuntime cache to store lists of objects and in our current project it was specified that the objects should be cached until midnight, so I am using DateTime.Today.AddHours(24) in order to set the absolute expiration date to midnight.

For example, if today is May 26th, the absolute expiration time will be set to May 27th 0:00.

But somehow, when I change

View Replies

Hibernate cache: Are objects returned by a cached query stored in L2 cache?
Category : Programming Languages

We're using hibernate4 and ehcache in our project. We mostly work on immutable objects, so caching is a feature which fits nicely in our application. While trying to enable query cache, we ran into the following problem:

Assuming we have the following entity:

@Table(name = "DOGS")
@Cache(usage = CacheConcurrencyStrategy.READ_ONLY)
View Replies

cachingHttpclient cannot ignore header “Cache-Control: no-cache”
Category : Programming Languages

I am using Apache cachingHttpClient to query a REST API from java code.

I want to cache some http response despite receiving "Cache-Control: no-cache" header which cause the cachingHttpClient to not cache the file.

With standalone http proxy such as squid,mod_cache..., I could tweak the configuration to ignore those headers and overide default behaviour.


View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .