[pgAdmin4][Patch]: RM1171 - Fix IE caching issue - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch]: RM1171 - Fix IE caching issue
Date
Msg-id CAM5-9D90JkDMwj+AqJQZGbpyHJdfy6Z6w2s7EtH3vGP7tmvapQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: RM1171 - Fix IE caching issue  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin website commit: Fix dates per Magnus
Next
From: Surinder Kumar
Date:
Subject: Re: [pgAdmin4][Patch]: RM1171 - Fix IE caching issue