You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add AccelerateWP plugin new features documentation
Document three new AccelerateWP options across user-facing docs:
- Apply Delay JS only on mobile devices (child of Delay JavaScript Execution)
- Aggressive mobile CSS optimization (child of Optimize CSS delivery)
- Reduce font-related layout shifts (Media section)
Copy file name to clipboardExpand all lines: docs/cln/wpos-plugin/README.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,16 @@ To prevent that, use (. *).CSS wildcards to exclude all files in a specific loca
162
162
163
163
3rd Party: when excluding external CSS files, use the domain or the full URL path.
164
164
165
+
**Aggressive mobile CSS optimization**
166
+
167
+
Reduces CSS exclusions on mobile, keeping only critical ones (`admin-bar`, `dashicons`, `wp-admin`). This option is a child of "Optimize CSS delivery" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
173
+
:::
174
+
165
175
### JavaScript Files
166
176
167
177
**Minify javascript files**
@@ -190,6 +200,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
190
200
This option helps to decrease the page load time by delaying loading of all JavaScripts on the page. This option can be
191
201
applied only for already cached pages, it is incompatible with the Combine JavaScripts files option.
192
202
203
+
**Apply Delay JS only on mobile devices**
204
+
205
+
When enabled, Delay JS is applied only for mobile visitors while desktop visitors get standard JavaScript loading. This option is a child of "Delay JavaScript Execution" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
211
+
:::
212
+
193
213
### Media
194
214
195
215
**LazyLoad**
@@ -205,6 +225,21 @@ The following options allows working with LazyLoad
205
225
* Enable LazyLoad for iframes and videos
206
226
* Excluded images or iframes
207
227
228
+
**Reduce font-related layout shifts**
229
+
230
+
Generates `@font-face` rules with CSS metric overrides (`size-adjust`, `ascent-override`, `descent-override`, `line-gap-override`) that adjust fallback fonts to match web font dimensions, reducing Cumulative Layout Shift (CLS).
Copy file name to clipboardExpand all lines: docs/user-docs/user-docs-shared-pro-cloudlinux/README.md
+70Lines changed: 70 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,16 @@ The function starts automatically after switching on. It takes some time to gene
205
205
206
206
Each time you change the site's theme, the Critical CSS will be regenerated. Also, if you have made any changes to the styles of your site, you need to manually regenerate the Critical CSS by clicking on the "Regenerate critical CSS" button.
207
207
208
+
**Aggressive mobile CSS optimization**
209
+
210
+
Reduces CSS exclusions on mobile, keeping only critical ones (`admin-bar`, `dashicons`, `wp-admin`). This option is a child of "Optimize CSS delivery" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
216
+
:::
217
+
208
218
#### JavaScript Files
209
219
**Minify javascript files**
210
220
@@ -228,6 +238,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
228
238
229
239
This option helps to decrease the page load time by delaying loading of all JavaScripts on the page. This option can be applied only for already cached pages, it is incompatible with the Combine JavaScripts files option.
230
240
241
+
**Apply Delay JS only on mobile devices**
242
+
243
+
When enabled, Delay JS is applied only for mobile visitors while desktop visitors get standard JavaScript loading. This option is a child of "Delay JavaScript Execution" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
249
+
:::
250
+
231
251
232
252
#### Media
233
253
**LazyLoad**
@@ -239,6 +259,21 @@ The following options allows working with LazyLoad
239
259
* Enable LazyLoad for iframes and videos
240
260
* Excluded images or iframes
241
261
262
+
**Reduce font-related layout shifts**
263
+
264
+
Generates `@font-face` rules with CSS metric overrides (`size-adjust`, `ascent-override`, `descent-override`, `line-gap-override`) that adjust fallback fonts to match web font dimensions, reducing Cumulative Layout Shift (CLS).
@@ -695,6 +730,16 @@ The function starts automatically after switching on. It takes some time to gene
695
730
696
731
Each time you change the site's theme, the Critical CSS will be regenerated. Also, if you have made any changes to the styles of your site, you need to manually regenerate the Critical CSS by clicking on the "Regenerate critical CSS" button.
697
732
733
+
**Aggressive mobile CSS optimization**
734
+
735
+
Reduces CSS exclusions on mobile, keeping only critical ones (`admin-bar`, `dashicons`, `wp-admin`). This option is a child of "Optimize CSS delivery" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
741
+
:::
742
+
698
743
#### JavaScript Files
699
744
**Minify javascript files**
700
745
@@ -718,6 +763,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
718
763
719
764
This option helps to decrease the page load time by delaying loading of all JavaScripts on the page. This option can be applied only for already cached pages, it is incompatible with the Combine JavaScripts files option.
720
765
766
+
**Apply Delay JS only on mobile devices**
767
+
768
+
When enabled, Delay JS is applied only for mobile visitors while desktop visitors get standard JavaScript loading. This option is a child of "Delay JavaScript Execution" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
774
+
:::
775
+
721
776
722
777
#### Media
723
778
**LazyLoad**
@@ -729,6 +784,21 @@ The following options allows working with LazyLoad
729
784
* Enable LazyLoad for iframes and videos
730
785
* Excluded images or iframes
731
786
787
+
**Reduce font-related layout shifts**
788
+
789
+
Generates `@font-face` rules with CSS metric overrides (`size-adjust`, `ascent-override`, `descent-override`, `line-gap-override`) that adjust fallback fonts to match web font dimensions, reducing Cumulative Layout Shift (CLS).
Copy file name to clipboardExpand all lines: docs/user-docs/user-docs-solo-cloudlinux/README.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,16 @@ The function starts automatically after switching on. It takes some time to gene
176
176
177
177
Each time you change the site's theme, the Critical CSS will be regenerated. Also, if you have made any changes to the styles of your site, you need to manually regenerate the Critical CSS by clicking on the "Regenerate critical CSS" button.
178
178
179
+
**Aggressive mobile CSS optimization**
180
+
181
+
Reduces CSS exclusions on mobile, keeping only critical ones (`admin-bar`, `dashicons`, `wp-admin`). This option is a child of "Optimize CSS delivery" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
187
+
:::
188
+
179
189
#### JavaScript Files
180
190
**Minify javascript files**
181
191
@@ -199,6 +209,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
199
209
200
210
This option helps to decrease the page load time by delaying loading of all JavaScripts on the page. This option can be applied only for already cached pages, it is incompatible with the Combine JavaScripts files option.
201
211
212
+
**Apply Delay JS only on mobile devices**
213
+
214
+
When enabled, Delay JS is applied only for mobile visitors while desktop visitors get standard JavaScript loading. This option is a child of "Delay JavaScript Execution" and requires "Separate cache files for mobile devices" to be enabled.
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
220
+
:::
221
+
202
222
203
223
#### Media
204
224
**LazyLoad**
@@ -211,6 +231,21 @@ The following options allows working with LazyLoad
211
231
* Excluded images or iframes
212
232
213
233
234
+
**Reduce font-related layout shifts**
235
+
236
+
Generates `@font-face` rules with CSS metric overrides (`size-adjust`, `ascent-override`, `descent-override`, `line-gap-override`) that adjust fallback fonts to match web font dimensions, reducing Cumulative Layout Shift (CLS).
0 commit comments