Browse Source

Change Cache-Control for test

Visman 5 năm trước cách đây
mục cha
commit
69d254db3a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Models/Page.php

+ 2 - 2
app/Models/Page.php

@@ -70,8 +70,8 @@ abstract class Page extends Model
 
         $now = \gmdate('D, d M Y H:i:s') . ' GMT';
 
-        $this->header('Cache-Control', 'no-cache, no-store, must-revalidate')
-//            ->header('Cache-Control', 'private, no-cache')
+        $this //->header('Cache-Control', 'no-cache, no-store, must-revalidate')
+            ->header('Cache-Control', 'private, no-cache')
             ->header('Content-type', 'text/html; charset=utf-8')
             ->header('Date', $now)
             ->header('Last-Modified', $now)