public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM5477] Cache bust webpack chunk files
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM5477] Cache bust webpack chunk files
@ 2021-05-11 07:03  Aditya Toshniwal <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Aditya Toshniwal @ 2021-05-11 07:03 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Attached is the patch to bust cache when chunk file content changes.
Please review.

-- 
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com;
"Don't Complain about Heat, Plant a TREE"


Attachments:

  [application/octet-stream] RM5477.patch (418B, 3-RM5477.patch)
  download | inline diff:
diff --git a/web/webpack.config.js b/web/webpack.config.js
index e906a567c..779f2faa4 100644
--- a/web/webpack.config.js
+++ b/web/webpack.config.js
@@ -366,7 +366,7 @@ module.exports = [{
     libraryTarget: 'amd',
     path: outputPath,
     filename: '[name].js',
-    chunkFilename: '[name].chunk.js',
+    chunkFilename: '[name].chunk.js?id=[chunkhash]',
     libraryExport: 'default',
     publicPath: '',
   },


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin][RM5477] Cache bust webpack chunk files
@ 2021-05-11 08:19  Akshay Joshi <[email protected]>
  parent: Aditya Toshniwal <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-05-11 08:19 UTC (permalink / raw)
  To: Aditya Toshniwal <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Tue, May 11, 2021 at 12:34 PM Aditya Toshniwal <
[email protected]> wrote:

> Hi Hackers,
>
> Attached is the patch to bust cache when chunk file content changes.
> Please review.
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
> <http://edbpostgres.com;
> "Don't Complain about Heat, Plant a TREE"
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-05-11 08:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 07:03 [pgAdmin][RM5477] Cache bust webpack chunk files Aditya Toshniwal <[email protected]>
2021-05-11 08:19 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox