From 252c7a4bab42c2e4789db3fa87729eddbc499eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 30 Aug 2021 15:47:49 +0200 Subject: [PATCH 1/3] Add cache-control properties component --- .../views/portal/ninja2020/components/no-cache.blade.php | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 resources/views/portal/ninja2020/components/no-cache.blade.php diff --git a/resources/views/portal/ninja2020/components/no-cache.blade.php b/resources/views/portal/ninja2020/components/no-cache.blade.php new file mode 100644 index 000000000000..4a7bc88647a9 --- /dev/null +++ b/resources/views/portal/ninja2020/components/no-cache.blade.php @@ -0,0 +1,5 @@ + + + + + From f5ca85ce3797a71671ff725ea1855a7e534aee80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 30 Aug 2021 15:48:01 +0200 Subject: [PATCH 2/3] Don't push cache for invoices & credits --- resources/views/portal/ninja2020/credits/show.blade.php | 2 ++ resources/views/portal/ninja2020/invoices/show.blade.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/resources/views/portal/ninja2020/credits/show.blade.php b/resources/views/portal/ninja2020/credits/show.blade.php index 1b914210e85e..6a23a51594f1 100644 --- a/resources/views/portal/ninja2020/credits/show.blade.php +++ b/resources/views/portal/ninja2020/credits/show.blade.php @@ -3,6 +3,8 @@ @push('head') + @include('portal.ninja2020.components.no-cache') + @endpush diff --git a/resources/views/portal/ninja2020/invoices/show.blade.php b/resources/views/portal/ninja2020/invoices/show.blade.php index aeaee1553fc5..52cdc09ae299 100644 --- a/resources/views/portal/ninja2020/invoices/show.blade.php +++ b/resources/views/portal/ninja2020/invoices/show.blade.php @@ -4,6 +4,8 @@ @push('head') + @include('portal.ninja2020.components.no-cache') + @endpush From e5af3d291e9a6187ed5c2eb3013686d222597067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 30 Aug 2021 15:49:16 +0200 Subject: [PATCH 3/3] Don't push cache for quotes --- resources/views/portal/ninja2020/quotes/show.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/portal/ninja2020/quotes/show.blade.php b/resources/views/portal/ninja2020/quotes/show.blade.php index da929a86561c..905815a29a3e 100644 --- a/resources/views/portal/ninja2020/quotes/show.blade.php +++ b/resources/views/portal/ninja2020/quotes/show.blade.php @@ -8,6 +8,8 @@ + @include('portal.ninja2020.components.no-cache') + @endpush