Skip to content

Commit e371620

Browse files
Update widget-output-caching.md
1 parent ff934db commit e371620

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/widgets/widget-output-caching.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Widget Output Caching
1+
## Widget Output Caching / Element Caching
22

33
<Badge type="tip" vertical="top" text="Elementor Core" /> <Badge type="warning" vertical="top" text="Intermediate" />
44

@@ -184,3 +184,10 @@ class Elementor_Test_Widget extends \Elementor\Widget_Base {
184184
```
185185

186186
This widget generates different HTML output for logged-in users and anonymous users. We can't cache the widget output as the cached HTML may be displayed for the wrong users.
187+
188+
### Testing
189+
When testing the performance improvements, please make sure to use different types of widgets - not multiple instances of the same widget. The more widgets on the page, and the more different types of widgets, the larger the impact.
190+
191+
Next, you’ll need to “Regenerate CSS files & data” from WP Admin > Elementor > Tools.
192+
193+
Then, in your speed comparison tool, compare the first run (rendered data) to the second run (cached data) and you should see the impact on the server memory usage and TTFB.

0 commit comments

Comments
 (0)