diff --git a/app/Models/Customer.php b/app/Models/Customer.php
index 75767dd..8a73238 100644
--- a/app/Models/Customer.php
+++ b/app/Models/Customer.php
@@ -79,4 +79,7 @@ class Customer extends Authenticatable
}
+ public function hasRole(){
+ return false;
+ }
}
diff --git a/resources/views/website/rss/post.blade.php b/resources/views/website/rss/post.blade.php
index 0d2bad0..46f8c48 100644
--- a/resources/views/website/rss/post.blade.php
+++ b/resources/views/website/rss/post.blade.php
@@ -1,3 +1,4 @@
+@cache('sitemap_attach'. cacheNumber(), 3600)
{{config('app.name')}}
@@ -17,3 +18,4 @@
@endforeach
+@endcache
diff --git a/resources/views/website/rss/product.blade.php b/resources/views/website/rss/product.blade.php
index 88cf36d..f2c672f 100644
--- a/resources/views/website/rss/product.blade.php
+++ b/resources/views/website/rss/product.blade.php
@@ -1,3 +1,4 @@
+@cache('sitemap_attach'. cacheNumber(), 3600)
{{config('app.name')}}
@@ -17,3 +18,4 @@
@endforeach
+@endcache