Re: [pgAdmin][RM4681] Increase cache control max age for static files - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject Re: [pgAdmin][RM4681] Increase cache control max age for static files
Date
Msg-id CAG7mmowOhX2SYveYbTgSZY6+F6D6yGEYcnpuxydG14fdUD=QBQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM4681] Increase cache control max age for static files  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Responses Re: [pgAdmin][RM4681] Increase cache control max age for static files  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Re: [pgAdmin][RM4681] Increase cache control max age for static files  (Avin Kavish <avinkavish@gmail.com>)
List pgadmin-hackers
On Wed, Aug 28, 2019 at 1:32 PM Aditya Toshniwal <aditya.toshniwal@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 that the static files like vendor.js, etc. will be fetched again from server after 12hrs. This is not required as these files won't change.

Kindly review.
I have done the review, it looks good to me.
I have only concern about - with this change the caching will be done for at least 1 year. I am still kind of confused, what should be the caching time?

But - we can go ahead with this change.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi


 

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM4469] Add RE-SQL test cases for Sequences
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM4681] Increase cache control max age for static files