Re: [pgAdmin][RM4681] Increase cache control max age for static files

2019-09-01 Thread Akshay Joshi
Thanks patch applied. On Thu, Aug 29, 2019 at 11:18 AM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > > On Thu, Aug 29, 2019 at 10:59 AM Ashesh Vashi < > ashesh.va...@enterprisedb.com> wrote: > >> On Wed, Aug 28, 2019 at 1:32 PM Aditya Toshniwal < >> aditya.toshni...@enterprisedb.

Re: [pgAdmin][RM4681] Increase cache control max age for static files

2019-08-28 Thread Avin Kavish
If content hashing is enabled on webpack, cache time can even be 10 years as the file names will update and effectively invalidate the old caches. If content hashing or some other cache busting mechanism is not enabled, it might be a problem. In my experience, it is good to have one year, browsers

Re: [pgAdmin][RM4681] Increase cache control max age for static files

2019-08-28 Thread Aditya Toshniwal
On Thu, Aug 29, 2019 at 10:59 AM Ashesh Vashi wrote: > On Wed, Aug 28, 2019 at 1:32 PM Aditya Toshniwal < > aditya.toshni...@enterprisedb.com> wrote: > >> Hi Hackers, >> >> Attached is the patch to increase cache control max age (in http header) >> for static files to improve performance over lon

Re: [pgAdmin][RM4681] Increase cache control max age for static files

2019-08-28 Thread Ashesh Vashi
On Wed, Aug 28, 2019 at 1:32 PM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch to increase cache control max age (in http header) > for static files to improve performance over longer run. > By default it is 43200 seconds (12 hrs), which means

[pgAdmin][RM4681] Increase cache control max age for static files

2019-08-28 Thread Aditya Toshniwal
Hi Hackers, Attached is the patch to increase cache control max age (in http header) for static files to improve performance over longer run. By default it is 43200 seconds (12 hrs), which means that the static files like vendor.js, etc. will be fetched again from server after 12hrs. This is not r