Skip to content

Commit

Permalink
Server Settings Enhancements: Enable feature flag, update doc link (#…
Browse files Browse the repository at this point in the history
…95087)

* Enable feature flag, update doc link

* Include a cache_type prop for `Clear all caches` button
  • Loading branch information
fredrikekelund authored Oct 2, 2024
1 parent a2ceabd commit 5e4a1a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/components/inline-support-link/context-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const contextLinks = {
blog_id: DEVELOPER_WORDPRESS_BLOG_ID,
},
'hosting-defensive-mode': {
link: 'https://developer.wordpress.com/docs/site-performance/global-edge-cache/',
link: 'https://developer.wordpress.com/docs/site-performance/defensive-mode/',
post_id: 99415,
blog_id: DEVELOPER_WORDPRESS_BLOG_ID,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export default function CacheCard( { disabled }: CacheCardProps ) {
const handleClearAllCache = () => {
recordTracksEvent( 'calypso_hosting_configuration_clear_wordpress_cache', {
site_id: siteId,
cache_type: 'all',
} );

if ( isEdgeCacheActive && ! isEdgeCacheClearRateLimited ) {
Expand Down
2 changes: 1 addition & 1 deletion config/production.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"google-my-business": true,
"help": true,
"help/gpt-response": true,
"hosting-server-settings-enhancements": false,
"hosting-server-settings-enhancements": true,
"i18n/empathy-mode": false,
"i18n/translation-scanner": true,
"importer/site-backups": true,
Expand Down
2 changes: 1 addition & 1 deletion config/stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"google-my-business": true,
"help": true,
"help/gpt-response": true,
"hosting-server-settings-enhancements": false,
"hosting-server-settings-enhancements": true,
"i18n/empathy-mode": true,
"importer/site-backups": true,
"importer/unified": true,
Expand Down

0 comments on commit 5e4a1a3

Please sign in to comment.