[pgAdmin4][Patch]: RM1171 - Fix IE caching issue

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: RM1171 - Fix IE caching issue
Date: 2016-09-20 13:46:41
Message-ID: CAM5-9D90JkDMwj+AqJQZGbpyHJdfy6Z6w2s7EtH3vGP7tmvapQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

*Issue:*
IE always caching the response data returned from the server and when same
request is made for next time, it doesn't bring new data, instead it use
cached data.

*Solution:*
Set cache to '*no-cache*' in response headers while sending from the server
side. This prevents browser from caching data every time an http request is
made.

Thanks to Harshal & Murtaza for discussing issue and solution.

Please find attached patch and review.

Thanks,
Surinder Kumar

Attachment Content-Type Size
RM1171.patch application/octet-stream 1.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-09-20 13:55:56 Re: [pgAdmin4][Patch]: RM1171 - Fix IE caching issue
Previous Message Dave Page 2016-09-20 13:19:58 pgAdmin website commit: Fix dates per Magnus