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
2 answers
Caching responses to authenticated requests (in Apigee)
Apigee provides various caching mechanisms but how do they work in the presence of authentication? if each request must go all the way back to the server to be authenticated then how you can cache anything between the client and server? My…

Ron Cohen
- 2,815
- 5
- 30
- 45
0
votes
1 answer
Apache traffic server Clustering issue
I use a compiled version of ATS 4.1.2 on Debian Wheezy for distributed caching. Both the nodes that I am trying to cluster, resides on the same vlan, with same proxy.config.proxy_name value.However, most of the time, ATS is not able to discover this…

nohup
- 3,105
- 3
- 27
- 52
0
votes
1 answer
HttpUrlConnection with HttpResponseCache or Volley for better caching implementation in android
I am developing an app for Android in which there are a lot of http requests to server to fetch some data. My response includes a lot of images as well along with texts in JSON format.
I would like to make my application work faster using proper…

Piyush Agarwal
- 25,608
- 8
- 98
- 111
0
votes
1 answer
Cache everything but HTML page (partial caching)
Right now I am using a mix of HTTP headers and meta tags to disable the caching of my whole page. For slow connections it's just a nightmare.
Now my question:
Is it possible to partially disable caching? E.g. I would like to disable caching for the…

donnikitos
- 776
- 1
- 9
- 18
0
votes
1 answer
Understand the weak comparison function
HTTP 1.1 defines a weak comparison function for cache validators:
in order to be considered equal,
both validators MUST be identical in every way, but either or
both of them MAY be tagged as "weak" without affecting the
…

Markus Malkusch
- 7,738
- 2
- 38
- 67
0
votes
2 answers
Does Varnish-devicedetect cookie based User-agent override require vary: cookie for correct browser caching?
varnish-devicedetect lets me return different responses based on User-agent:
...
elsif (req.http.User-Agent ~ "(?i)ipad") { set req.http.X-UA-Device = "tablet-ipad"; }
elsif (req.http.User-Agent ~ "(?i)ip(hone|od)") { set req.http.X-UA-Device…

hurrymaplelad
- 26,645
- 10
- 56
- 76
0
votes
1 answer
Varnish not caching and error: "LIBVARNISHAPI_1.2/3 not found" on RaspberryPi
Varnish serves my web page fine from a rpi, but it never caches. The Age header returned is always 0. I've made sure that there are no cookies being returned by the application. I've run with the default vcl config, but also tried forcing caching by…

Andreas
- 1,061
- 1
- 11
- 26
0
votes
1 answer
How to access web page by IP?
I want to cache IPs of hosts to refresh contents of regularly accessed web pages more quickly. But I came across the problem that some web pages may be accessed by URL (such as 'www.auto-club74.ru'), but not by corresponding IP ('192.169.52.119' as…

Apogentus
- 6,371
- 6
- 32
- 33
0
votes
1 answer
Cache strategy for dynamics header using symfony2 http caching
I was trying to use private/public caching in order to avoid retrieving all the data that is used to build the homepage content. which is quiet static content.
I try to do it like that.
$response->setMaxAge(600);
// mark the response as…

Yoni Elyo
- 487
- 6
- 23
0
votes
1 answer
what does my request does not inlclude if-non-match in header
I am using https://github.com/filipw/AspNetWebApi-OutputCache NUGET package to manage caching for my ASP.NET WEB API.
The server side caching works well. However I don't see it working on my browser (client side).
On request I see that max-age and…

Paresh Varde
- 1,084
- 3
- 16
- 39
0
votes
1 answer
Worklight: WL.Client.addGlobalHeader() has no effect
When I add the line
WL.Client.addGlobalHeader("MyCustomHeader","abcdefgh");
inside of my main js file like so
function wlCommonInit(){
WL.Client.addGlobalHeader("MyCustomHeader","abcdefgh");
(...)
like it's described in the documentation…

spyro
- 475
- 4
- 10
0
votes
1 answer
how does the rails cache proxy can store private caches?
as we now, when it comes to "http caching system", we have two kind of caches: public and private and their difference is all about proxies existing between user and the server. proxies cannot store private caches.
in this link, he talks about…

Pooya
- 992
- 2
- 10
- 31
0
votes
1 answer
Rails HTTP Cache on JS/JSON index requests: how?
I've been implementing HTTP Cache on my latest rails 3.2 app (soon 4) using the helper methods like fresh_when. I was now using the same approach on index actions. Something similar to:
...
def index
@resources = Resource.all
fresh_when…

ChuckE
- 5,610
- 4
- 31
- 59
0
votes
0 answers
How to properly set content caching for a .Net application running in IIS?
In my MVC3 project I have the following class-level attributes set on some of my controllers:
[OutputCache(Location = System.Web.UI.OutputCacheLocation.Server, Duration = 14400, VaryByParam = "*")]
Duration = four hours.
I used VaryByParam = "*"…

ElHaix
- 12,846
- 27
- 115
- 203
0
votes
1 answer
Does Googlebot and other spiders always pull the latest content?
I understand using the following meta tags will prevent caching for web browsers but not for proxies:
However, using cache headers server-side will…

Chad Johnson
- 21,215
- 34
- 109
- 207