title: How to disable request caching or add refresh in ionic 3 app?
body: <p>I have a trouble with my ionic app : 
  on ionViewWillEnter() I request the server with a GET request to get datas.
  If I open the page for the first time, the request is sent.
  If it's a second opening, app read the cache and doesn't send request.
  This trouble exists only on device.
  Any idea ?
  Thx.</p>
  
  <p>EDIT : 
  I'm using this version :
  @ionic/app-scripts : 3.2.0<br/>
  Cordova Platforms  : ios 4.5.5<br/>
  Ionic Framework    : ionic-angular 3.9.2</p>
  
  <p>All requests go into an interceptor :</p>
  
  <pre><code>import { Injectable, NgModule} from '@angular/core';
  
  import { Observable } from 'rxjs/Observable';
  import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest, HttpHeaders} from '@angular/common/http';
  import {Globals} from './globals';
  @Injectable()
  export class HttpsRequestInterceptor implements HttpInterceptor {
  headers : HttpHeaders;
    constructor(private globals: Globals){}
   intercept(
     req: HttpRequest&lt;any&gt;,
     next: HttpHandler): Observable&lt;HttpEvent&lt;any&gt;&gt; {
       if(localStorage.getItem('jwt')){
         this.headers = new HttpHeaders({'Authentication':localStorage.getItem('jwt'),'Cache-Control':['no-cache','no-store'],'Pragma':'no-cache','Expires': '0'});
     }else{
       this.headers = new HttpHeaders({'Authentication':''});
     }
       const dupReq = req.clone({ headers: this.headers });
       return next.handle(dupReq);
     }
  };
  </code></pre>
  
  <p>I have all CORS enabled on my server.</p>
  
  <p>In my controller I do this : </p>
  
  <pre><code>import { Component } from '@angular/core';
  import { IonicPage, NavController, NavParams,LoadingController } from 'ionic-angular';
  import {UserService} from '../../providers/user-service';
  import {AlertService} from '../../providers/alert-service';
  import { TranslateService } from '../../app/translate';
  
  @IonicPage()
  @Component({
    selector: 'page-user-messages',
    templateUrl: 'user-messages.html',
  })
  export class UserMessagesPage {
  messagesList;
    constructor(public navCtrl: NavController, public navParams: NavParams,public translateService:TranslateService,
      public alertService : AlertService, private userService : UserService,public loadingCtrl: LoadingController) {
  
    }
  /**
  * Show user's messages
  **/
    ionViewWillEnter() {
      let loader = this.loadingCtrl.create({
        content: this.translateService.instant('text','loadingText'),
      });
      loader.present().then(() =&gt; {
      this.userService.getMyMessages().subscribe(jsonResponse=&gt;{
        if(jsonResponse.success==true){
          this.messagesList = jsonResponse.rows;
        }else{
          this.alertService.showAlert(this.translateService.instant('error','title'),jsonResponse.msg);
        }
        loader.dismiss();
      },error =&gt; {
        this.alertService.showAlert(this.translateService.instant('error','title'),error);
        loader.dismiss();
      });
      });
    }
  
  }
  </code></pre>
  
  <p>And finally, the provider is : </p>
  
  <pre><code>import { Injectable } from '@angular/core';
  import { HttpClient,HttpParams } from '@angular/common/http';
  import { Globals} from '../app/globals';
  import 'rxjs/add/operator/map';
  import {Observable} from 'rxjs/Observable';
  import {User} from '../app/models/user';
  import {JsonResponse} from '../app/models/json-response';
  @Injectable()
  export class UserService {
  
    constructor(private httpClient : HttpClient, private globals: Globals){}
  
    public getMyMessages() : Observable&lt;any&gt;{
      return this.httpClient.get("myurl");
    }
  
  }
  </code></pre>