Eliminate the need to send HTTP requests in many cases, and eliminate the need to send full HTTP responses in other cases, by storing web content closer to where it is consumed.
Questions tagged [http-caching]
529 questions
0
votes
1 answer
How does HTTP caching works in a proxy server?
It's my understanding that caching is one of the main utilities of a proxy server. I'm currently trying to develop a simple one and I would like to know exactly how caching works.
Intuitively I think that it's basically an association between a…

André Lourenço
- 668
- 5
- 10
0
votes
0 answers
Retrieving cookies via js using $.cookie("param") not working with public cache headers?
I have a site with heavy load that receives an affiliate param like site.com/?account=account and pass it as cookies. Then I load that value from the cookies with javascript and show it as a hidden value of the form page that is cached. This seems…

Martin
- 11,216
- 23
- 83
- 140
0
votes
1 answer
http Last-Modified dont' work as expect
Response:
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection:keep-alive
Content-Type:image/jpeg
Date:Tue, 23 Jul 2013 13:56:05 GMT
Etag:"76a5140090233de1521969b60c7636c1"
Expires:Thu, 19 Nov 1981 08:52:00…

user890973
- 947
- 2
- 8
- 12
0
votes
0 answers
How Parsley PropertiesFile can be reloded, avoiding the cached version is loaded?
In an old Flex 4.1 project I'm using Parsley 2.3.0 and it is configured by a PropertiesFile tag in my main mxml file, as follow:
The problem…

Giorgio Vespucci
- 1,586
- 3
- 18
- 30
0
votes
1 answer
How to simulate a call to HttpContext.Cache["MyKey"] with Rhino Mocks?
Short version:
How to get Rhino Mocks to simulate a call to HttpContext.Cache["MyKey"] and return expected data?
Long version:
I need to simulate a return value from the HttpContext.Cache with Rhino Mocks. I'm using the following code in the…

Guillaume
- 1,782
- 1
- 25
- 42
0
votes
1 answer
HttpRuntime.Cache in global.asax is always empty
I have a series of cached objects cached in this way
HttpRuntime.Cache.Insert(....)
I am trying to use a varyByCustom declaration for a user control, and using this cached object to return a value in global.asax
Public Overrides Function…

Jamie Hartnoll
- 7,231
- 13
- 58
- 97
0
votes
2 answers
How to disable http cache in the entire site?
I need to be able to put the site in 'maintenance mode'. So I'm using a cheap hack like this one in app.php (the original app.php was moved to app.php.bak):

ChocoDeveloper
- 14,160
- 26
- 79
- 117
0
votes
1 answer
Caching anonymous page with redirect if user is authenticated
I would like to use page caching for our asp.net mvc site's landing page. This page is accessible to anonymous users only. If the user is logged in however, I would like this page to redirect to the user home page which is authenticated.
The problem…

DavidWainwright
- 2,895
- 1
- 27
- 30
0
votes
1 answer
Handle ActionResults as cachable, "static content" in ASP.NET MVC (4)
I have a couple of ActionMethods that returns content from the database that is not changing very often (eg.: a polygon list of available ZIP-Areas, returned as json; changes twice per year).
I know, there is the [OutputCache(...)] Attribute, but…

Gerwald
- 1,549
- 2
- 18
- 42
0
votes
1 answer
Why the beresp.ttl is set to 0 when a Cookie is added to the request in Varnish?
Ok, so I'm trying to make Varnish works properly and I've a weird behavior I can't explain (may be due by a lack of understanding).
Here is what I'm trying to do:
GET http://scm.dev:6081/articles
If-None-Match:…

Boris Guéry
- 47,316
- 8
- 52
- 87
0
votes
1 answer
Smart Caching pages with no change in ASP.NET MVC
I am thinking about implementing caching mechanics for asp.net mvc pages that gives you the latest version of a web page, but if the page didn't changed since the last time it was cached, it will return the cached result.
By the way, I wonder what…

Aviran Cohen
- 5,581
- 4
- 48
- 75
0
votes
2 answers
How to cache whole webpage in ios 4 and above
I am new to iphone development. I would like to know how to do the caching in ios 4 and above??
I got many answers but right now I get confused and don't know from where to start.
In my project, I am doing http request and displaying results using…

Kirti Nikam
- 2,166
- 2
- 22
- 43
0
votes
1 answer
Doesn't Vary: * simply make HTTP responses uncachable?
If so, I'm surprised that such a thing even exists. Why would you need such a thing? Seems to me, you could use other headers to (more easily) prevent caching.

allyourcode
- 21,871
- 18
- 78
- 106
0
votes
1 answer
Code to make HTTP caching work
I am reading about HHT caching, found a website article here which explains some things but I still don't get it since I am a total newb and its the first time I have heard of this.
First of all, using firebug I have noticed that I have some…

webmasters
- 5,663
- 14
- 51
- 78
0
votes
1 answer
prevent caching on https without breaking IE
Some of the downloads we have in our webapplication are generated and should not be cached by the browser.
When using HTTP:// we can prevent this with the header:
Cache-Control : no-cache
However this break is…

pvgoddijn
- 12,638
- 15
- 47
- 56