Skip to content

Commit a27b2f9

Browse files
committed
Reword cache busting option documentation to be more general
1 parent 82c7600 commit a27b2f9

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

config/hyde.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,12 @@
355355
| Cache Busting
356356
|--------------------------------------------------------------------------
357357
|
358-
| Any assets loaded using the Asset::mediaLink() helper will automatically
359-
| have a cache busting query string appended to the URL. This is useful
358+
| Any assets loaded using the Hyde Asset helpers will automatically have
359+
| a "cache busting" query string appended to the URL. This is useful
360360
| when you want to force browsers to load a new version of an asset.
361+
| All included Blade templates use this feature to load assets.
361362
|
362-
| The mediaLink helper is used in the built-in views to load the
363-
| default stylesheets and scripts, and thus use this feature.
364-
|
365-
| To disable cache busting, set this setting to false.
363+
| To disable the cache busting, set this setting to false.
366364
|
367365
*/
368366

packages/framework/config/hyde.php

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -286,18 +286,18 @@
286286

287287
'authors' => [
288288
'mr_hyde' => Author::create(
289-
// The following settings are used in the default blog post template.
289+
// The following settings are used in the default blog post template.
290290
name: 'Mr. Hyde', // Optional display name
291291
website: 'https://hydephp.com', // Optional website URL
292292

293-
// The following settings are not used in the bundled templates,
294-
// but you can use them in your own custom views, for example.
295-
// bio: 'The mysterious author of HydePHP',
296-
// avatar: 'avatar.png',
297-
// socials: [
298-
// 'twitter' => 'HydeFramework',
299-
// 'github' => 'hydephp',
300-
// ],
293+
// The following settings are not used in the bundled templates,
294+
// but you can use them in your own custom views, for example.
295+
// bio: 'The mysterious author of HydePHP',
296+
// avatar: 'avatar.png',
297+
// socials: [
298+
// 'twitter' => 'HydeFramework',
299+
// 'github' => 'hydephp',
300+
// ],
301301
),
302302
],
303303

@@ -355,14 +355,12 @@
355355
| Cache Busting
356356
|--------------------------------------------------------------------------
357357
|
358-
| Any assets loaded using the Asset::mediaLink() helper will automatically
359-
| have a cache busting query string appended to the URL. This is useful
358+
| Any assets loaded using the Hyde Asset helpers will automatically have
359+
| a "cache busting" query string appended to the URL. This is useful
360360
| when you want to force browsers to load a new version of an asset.
361+
| All included Blade templates use this feature to load assets.
361362
|
362-
| The mediaLink helper is used in the built-in views to load the
363-
| default stylesheets and scripts, and thus use this feature.
364-
|
365-
| To disable cache busting, set this setting to false.
363+
| To disable the cache busting, set this setting to false.
366364
|
367365
*/
368366

0 commit comments

Comments
 (0)