Skip to content

Commit 01585ed

Browse files
authored
Merge pull request #299 from tkalimullin-coludlinux/acceleratewp-plugin-docs
Add AccelerateWP plugin new features documentation
2 parents e4d536a + 744ebbf commit 01585ed

File tree

6 files changed

+140
-0
lines changed

6 files changed

+140
-0
lines changed
75.9 KB
Loading
76.1 KB
Loading
88.6 KB
Loading

docs/cln/wpos-plugin/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,16 @@ To prevent that, use (. *).CSS wildcards to exclude all files in a specific loca
162162

163163
3rd Party: when excluding external CSS files, use the domain or the full URL path.
164164

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.
168+
169+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPAgressiveMobileCssOptimizationOption.webp)
170+
171+
:::tip
172+
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
173+
:::
174+
165175
### JavaScript Files
166176

167177
**Minify javascript files**
@@ -190,6 +200,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
190200
This option helps to decrease the page load time by delaying loading of all JavaScripts on the page. This option can be
191201
applied only for already cached pages, it is incompatible with the Combine JavaScripts files option.
192202

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.
206+
207+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPApplyDelayJsOnlyOnMobileOption.webp)
208+
209+
:::tip
210+
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
211+
:::
212+
193213
### Media
194214

195215
**LazyLoad**
@@ -205,6 +225,21 @@ The following options allows working with LazyLoad
205225
* Enable LazyLoad for iframes and videos
206226
* Excluded images or iframes
207227

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).
231+
232+
Supported font sources:
233+
* Google Fonts URLs (`fonts.googleapis.com`)
234+
* `@font-face` rules in CSS
235+
* `font-family` declarations
236+
237+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPReduceFontRelatedLayoutShiftsOption.webp)
238+
239+
:::tip Note
240+
Default: ON.
241+
:::
242+
208243
### Image Dimensions
209244

210245
Add Missing Image Dimensions

docs/user-docs/user-docs-shared-pro-cloudlinux/README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,16 @@ The function starts automatically after switching on. It takes some time to gene
205205

206206
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.
207207

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.
211+
212+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPAgressiveMobileCssOptimizationOption.webp)
213+
214+
:::tip
215+
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
216+
:::
217+
208218
#### JavaScript Files
209219
**Minify javascript files**
210220

@@ -228,6 +238,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
228238

229239
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.
230240

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.
244+
245+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPApplyDelayJsOnlyOnMobileOption.webp)
246+
247+
:::tip
248+
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
249+
:::
250+
231251

232252
#### Media
233253
**LazyLoad**
@@ -239,6 +259,21 @@ The following options allows working with LazyLoad
239259
* Enable LazyLoad for iframes and videos
240260
* Excluded images or iframes
241261

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).
265+
266+
Supported font sources:
267+
* Google Fonts URLs (`fonts.googleapis.com`)
268+
* `@font-face` rules in CSS
269+
* `font-family` declarations
270+
271+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPReduceFontRelatedLayoutShiftsOption.webp)
272+
273+
:::tip Note
274+
Default: ON.
275+
:::
276+
242277

243278
#### Image Dimensions
244279
Add Missing Image Dimensions
@@ -695,6 +730,16 @@ The function starts automatically after switching on. It takes some time to gene
695730

696731
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.
697732

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.
736+
737+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPAgressiveMobileCssOptimizationOption.webp)
738+
739+
:::tip
740+
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
741+
:::
742+
698743
#### JavaScript Files
699744
**Minify javascript files**
700745

@@ -718,6 +763,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
718763

719764
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.
720765

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.
769+
770+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPApplyDelayJsOnlyOnMobileOption.webp)
771+
772+
:::tip
773+
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
774+
:::
775+
721776

722777
#### Media
723778
**LazyLoad**
@@ -729,6 +784,21 @@ The following options allows working with LazyLoad
729784
* Enable LazyLoad for iframes and videos
730785
* Excluded images or iframes
731786

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).
790+
791+
Supported font sources:
792+
* Google Fonts URLs (`fonts.googleapis.com`)
793+
* `@font-face` rules in CSS
794+
* `font-family` declarations
795+
796+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPReduceFontRelatedLayoutShiftsOption.webp)
797+
798+
:::tip Note
799+
Default: ON.
800+
:::
801+
732802

733803
#### Image Dimensions
734804
Add Missing Image Dimensions

docs/user-docs/user-docs-solo-cloudlinux/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,16 @@ The function starts automatically after switching on. It takes some time to gene
176176

177177
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.
178178

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.
182+
183+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPAgressiveMobileCssOptimizationOption.webp)
184+
185+
:::tip
186+
Default: OFF. Aggressive CSS optimization may break styling on some sites. Each site needs individual testing after enabling.
187+
:::
188+
179189
#### JavaScript Files
180190
**Minify javascript files**
181191

@@ -199,6 +209,16 @@ So, the `Load JavaScript deferred` option adds to each script tag the `defer` at
199209

200210
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.
201211

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.
215+
216+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPApplyDelayJsOnlyOnMobileOption.webp)
217+
218+
:::tip
219+
Default: OFF. Aggressive optimization may affect JavaScript interactivity on some sites. Each site needs individual testing after enabling.
220+
:::
221+
202222

203223
#### Media
204224
**LazyLoad**
@@ -211,6 +231,21 @@ The following options allows working with LazyLoad
211231
* Excluded images or iframes
212232

213233

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).
237+
238+
Supported font sources:
239+
* Google Fonts URLs (`fonts.googleapis.com`)
240+
* `@font-face` rules in CSS
241+
* `font-family` declarations
242+
243+
![](/images/user-docs/user-docs-shared-pro-cloudlinux/AWPReduceFontRelatedLayoutShiftsOption.webp)
244+
245+
:::tip Note
246+
Default: ON.
247+
:::
248+
214249
#### Image Dimensions
215250
Add Missing Image Dimensions
216251

0 commit comments

Comments
 (0)