Skip to content

Commit 09c48b0

Browse files
committed
remove system.license.secret config
1 parent 9bb7a35 commit 09c48b0

2 files changed

Lines changed: 33 additions & 37 deletions

File tree

config/inspirecms.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
'license' => [
3131
// Your InspireCMS license key from your subscription
3232
'key' => env('INSPIRECMS_LICENSE_KEY'),
33-
// Your InspireCMS license secret used for validation
34-
'secret' => env('INSPIRECMS_LICENSE_SECRET'),
3533
],
3634

3735
/**

docs/configuration.md

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ php artisan vendor:publish --tag="inspirecms-config"
4040
'license' => [
4141
// Your InspireCMS license key from your subscription
4242
'key' => env('INSPIRECMS_LICENSE_KEY'),
43-
// Your InspireCMS license secret used for validation
44-
'secret' => env('INSPIRECMS_LICENSE_SECRET'),
4543
],
4644

4745
/**
@@ -199,39 +197,39 @@ Optimize performance with caching configurations:
199197
```php
200198
'cache' => [
201199
'languages' => [
202-
'store' => null, // null: Fallback to default store
203-
'key' => 'inspirecms.languages', // Cache key for storing language data
204-
'ttl' => 60 * 60 * 24, // Time-to-live in seconds (24 hours)
205-
// Decrease for more frequent updates
206-
// Increase for better performance
207-
],
208-
'navigation' => [
209-
'store' => null, // null: Fallback to default store
210-
'key' => 'inspirecms.navigation', // Cache key for menu structures
211-
'ttl' => 60 * 60 * 24, // 24 hour cache duration
212-
// Clear with: php artisan cache:clear
213-
// Critical for site performance under high traffic
214-
],
215-
'content_routes' => [
216-
'store' => null, // null: Fallback to default store
217-
'key' => 'inspirecms.content_routes', // Cache key for content URL routing data
218-
'ttl' => 120 * 60 * 24, // 5-day cache duration (longer than other caches)
219-
// Extended duration improves routing performance
220-
// Clear after adding new content types
221-
],
222-
'key_value' => [
223-
'store' => null, // null: Fallback to default store
224-
'ttl' => 60 * 60 * 24, // Cache duration for system settings
225-
// Affects all configuration values retrieved at runtime
226-
// Consider shorter values during development
227-
// Longer values (3-7 days) for production
228-
'prefix' => 'inspire_key_value.',
229-
],
230-
// For production environments, consider enabling a persistent cache driver
231-
// such as Redis or Memcached in your .env file:
232-
// CACHE_DRIVER=redis
233-
234-
// Monitor cache usage with: php artisan inspirecms:cache-stats
200+
'store' => null, // null: Fallback to default store
201+
'key' => 'inspirecms.languages', // Cache key for storing language data
202+
'ttl' => 60 * 60 * 24, // Time-to-live in seconds (24 hours)
203+
// Decrease for more frequent updates
204+
// Increase for better performance
205+
],
206+
'navigation' => [
207+
'store' => null, // null: Fallback to default store
208+
'key' => 'inspirecms.navigation', // Cache key for menu structures
209+
'ttl' => 60 * 60 * 24, // 24 hour cache duration
210+
// Clear with: php artisan cache:clear
211+
// Critical for site performance under high traffic
212+
],
213+
'content_routes' => [
214+
'store' => null, // null: Fallback to default store
215+
'key' => 'inspirecms.content_routes', // Cache key for content URL routing data
216+
'ttl' => 120 * 60 * 24, // 5-day cache duration (longer than other caches)
217+
// Extended duration improves routing performance
218+
// Clear after adding new content types
219+
],
220+
'key_value' => [
221+
'store' => null, // null: Fallback to default store
222+
'ttl' => 60 * 60 * 24, // Cache duration for system settings
223+
// Affects all configuration values retrieved at runtime
224+
// Consider shorter values during development
225+
// Longer values (3-7 days) for production
226+
'prefix' => 'inspire_key_value.',
227+
],
228+
// For production environments, consider enabling a persistent cache driver
229+
// such as Redis or Memcached in your .env file:
230+
// CACHE_DRIVER=redis
231+
232+
// Monitor cache usage with: php artisan inspirecms:cache-stats
235233
],
236234
```
237235

0 commit comments

Comments
 (0)