Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28524

Re: How to handle client side caching with jquery? My jquery service http request headers always carrying Cache-Control:no-cache Pragma:no-cache though i haven't added anything.

From JJ <jj4public@vfemail.net>
Newsgroups comp.lang.javascript
Subject Re: How to handle client side caching with jquery? My jquery service http request headers always carrying Cache-Control:no-cache Pragma:no-cache though i haven't added anything.
Date 2015-08-13 23:27 +0700
Organization ?
Message-ID <1svdevoki2rxh$.15cme10r96mrb.dlg@40tude.net> (permalink)
References <f7a41eaf-19a8-4d6a-9087-cfc23d3c088f@googlegroups.com>

Show all headers | View raw


On Wed, 12 Aug 2015 12:30:53 -0700 (PDT), User1234 wrote:
> I want to do client side caching for my service response.  My jquery
> service http request headers always carrying Cache-Control:no-cache
> Pragma:no-cache though i haven't added anything. How this get appened in
> my service request http headers?

POSTed requests shouldn't be cacheable.
HTTPS requests shouldn't be cacheable.
Requests with query string (e.g.: abc.com/?query=what) shouldn't be
cacheable.

If you do, or expect it to be, you'll break something.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to handle client side caching with jquery? My jquery service http request headers always carrying Cache-Control:no-cache Pragma:no-cache though i haven't added anything. User1234 <selvaonline@gmail.com> - 2015-08-12 12:30 -0700
  Re: How to handle client side caching with jquery? My jquery service http request headers always carrying Cache-Control:no-cache Pragma:no-cache though i haven't added anything. JJ <jj4public@vfemail.net> - 2015-08-13 23:27 +0700
    Re: How to handle client side caching with jquery? My jquery service http request headers always carrying Cache-Control:no-cache Pragma:no-cache though i haven't added anything. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-14 08:50 +0200

csiph-web