Skip to content

Commit

Permalink
FEATURE: Enable client-side image optimization by default (#13724)
Browse files Browse the repository at this point in the history
  • Loading branch information
xfalcox committed Jul 16, 2021
1 parent 216dc99 commit 2fc0a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/site_settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ files:
default: 100000
hidden: true
composer_media_optimization_image_enabled:
default: false
default: true
client: true
composer_media_optimization_image_bytes_optimization_threshold:
default: 524288
Expand Down

2 comments on commit 2fc0a3f

@ping-spike
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xfalcox this setting has been enabled on my Discourse after I updated to latest this morning.

Is this the expected behaviour? To force the setting on for all existing Discourse instances? 🤔

Or should it only be forced on for new installations?

@xfalcox
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I intended to ship it default enabled for everyone. Admins may disable it at their discretion still.

Please sign in to comment.