Search results for helper plugin
315 articles found
-
Using Speed Optimizer with WP Rocket (formerly SG Optimizer)
Don't duplicate features in Speed Optimizer It's fine to use both plugins, but duplicate features should be avoided. Some features are activated automatically by WP Rocket. So these should be
-
rocket_clean_home()
Use the rocket_clean_home() function when you want to purge your home page from the cache. If your website is multilingual, you can specify the language to purge. // clean the home
-
Nonces and Cache Lifespan
Nonces are security tokens in WordPress. They get printed into the HTML source code. Nonces can only be used once (hence “n once”), and they are only valid for a certain length of time: 12 hours by
-
“Sorry, you’re not allowed to access this page” error
This is not something that could be triggered by WP Rocket. You can verify that by enabling WordPress Debugger and see if there is anything related to WP Rocket showing here. It usually affects
-
Images are not showing up
In some cases, WP Rocket's features can prevent all or some images from showing up. Most of the time, this behavior is caused by either the LazyLoad or Delay JavaScript execution feature. LazyLoad
-
Which IP addresses and URLs do I need to allow for WP Rocket?
For license validation and for some features, WP Rocket relies on external services. You can check their status here: https://wp-rocket.me/status/. IPs and URLs of these services need to be allowed
-
"realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s)" error
This error happens when PHP has its access limited by the value of open_basedir PHP setting. open_basedir limits the files that can be accessed by PHP to the directory-tree it is specified on this
-
Delay JavaScript execution
Still seeing the Reduce unused JavaScript audit in PageSpeed? You may be excluding too many scripts from being delayed, please consider reducing the exclusions to prioritize performance as per this.
-
rocket_clean_domain()
Use the rocket_clean_domain() function when you want to purge a complete domain from the cache, that is: clear the cache for your entire website. Additionally, when the Preload feature is enabled,
-
WPtouch not working
There are 2 versions of WPtouch: WPtouch (free) WPtouch Pro WPtouch (free) WP Rocket is automatically compatible with WPTouch (Free). When it is activated, WP Rocket detects it and automatically
-
How to fix the undefined reading 'use' error.
This article can help you if you've checked your browser console and found the following error on your website: Uncaught TypeError: Cannot read properties of undefined (reading 'use') Check if this
-
Forced reflow
PageSpeed warns about Forced reflow when JavaScript asks the browser to stop the rendering to recalculate the size or position of an element, slowing the performance of the page. A forced reflow
-
Does not use passive listeners to improve scrolling performance
Heads up! This is an obsolete audit, which has been removed from PageSpeed after the changes in Lighthouse 13. The scrolling experience can be affected by touch and wheel event listeners and
-
How to use WP Rocket with Bedrock WordPress Boilerplate
Heads Up! This tutorial is very specific and dedicated to experienced developers. If you are not familiar with Bedrock it's because you are not using it. In this case, you can safely skip reading
-
Elementor or other page builder does not load
Page builder plugins like Elementor, Divi, Avada's Fusion Builder or others can be quite resource-intensive. You may find that after activating WP Rocket, your page builder stops loading when you go
-
Render blocking requests
According to Google PageSpeed Insights, Render-blocking resources are files like CSS and JavaScript that delay page load because the browser must process them before rendering content. Requests are
-
Interaction to Next Paint
The Interaction to Next Paint (INP) is a Core Web Vital metric that focuses on the speed of the interactions of a website. Overview of Interaction to Next Paint The INP represents the responsiveness
-
Does WP Rocket support fragment caching?
Unfortunately, WP Rocket doesn't support fragment caching. The partial caching of elements on a page is an entirely different technology than what WP Rocket currently does. WP Rocket caches a fully
-
Optimize viewport for mobile
PageSpeed warns you to Optimize viewport for mobile when the viewport is not optimized for mobile devices, as this can delay tap interactions by up to 300 milliseconds and negatively impact the user
-
Getting started with WP Rocket
This article covers the overview of what WP Rocket does after installation. In addition to this, you can find the first steps you can take after installation. What WP Rocket does upon activation Upon
-
Optimize DOM size
The Optimize DOM size insight detects if a web page has an excessively large Document Object Model (DOM), and reports the total DOM elements for a page, the page's maximum DOM depth, and the element
-
Avoid enormous network payloads
This should be considered as a high priority optimization. It can have a significant impact on the overall performance, especially when the potential KB savings are high. One of the factors that has
-
Exclude pages from the cache and optimizations
Note that WP Rocket automatically excludes cart and checkout pages for certain ecommerce plugins. Read more about that here. How to exclude individual pages Directly in page settings Heads up! By
-
Configuration for HTTP/2
If your site runs on HTTP/2, here are the things you should consider for WP Rocket. Not sure if your site uses HTTP/2? Check with this simple tool: ⚡️ HTTP/2 test by KeyCDN To combine, or not to
-
How to fix the “jQuery is not defined” error
Something has broken on your site, you’ve checked your browser console for errors and found the following error: jQuery is not defined The error means that jQuery is required by another script, but
-
What exactly does WP Rocket do?
This article shows all the features included in WP Rocket has to optimize a WordPress website. Note: WP Rocket can adjust the settings when certain plugins, themes, and hosting environments are
-
How to improve your mobile PageSpeed score
The mobile PageSpeed score of a website is usually lower than the desktop score. In this article you can find the reasons behind this, which WP Rocket settings are most recommended, and what other
-
My site is broken
In this article, you will learn the basic troubleshooting process used to solve layout issues caused by WP Rocket. With this process, you will be able to find the problematic feature, and fix your
-
Subpages are not cached
If the $_GET super global variable is customized for some reason, this might result in WP Rocket not caching and optimizing pages. This can happen in some server environments, like NGINX (if
-
When does WP Rocket delete which files?
Below, you'll find the specific triggers which cause the contents of each of WP Rocket's files, folders or tables to be automatically deleted. đź’ˇIn some cases 3rd party plugins/themes/hosts could
-
PageSpeed shows error instead of grade
In rare cases, the PageSpeed report can fail, and it will show a red exclamation mark instead of a grade. The PageSpeed report will look as shown in the below image: If this error is persistent, that
-
Google PageSpeed grade does not improve
WP Rocket improves the Google PageSpeed grade and Core Web Vitals (CWV) of a website. In this article, you'll learn what to do when the PageSpeed grade does not improve. You’ll find the general
-
LazyLoad for images
LazyLoad delays the loading of images on your website until the user scrolls down the page and actually needs to see them. LazyLoad addresses the Google PageSpeed recommendation to Defer offscreen
-
WP Rocket rules in the .htaccess file
Upon activation, WP Rocket will automatically add some rules to the .htaccess file. The different blocks and rules are WP Rocket's instructions to apply browser caching, GZIP compression, redirect
-
Minimize main thread work
The Minimize main thread work is a PageSpeed diagnostic that shows how much time the browser needs to process the main thread. Consider reducing the time spent parsing, compiling and executing JS.
-
Keep request counts low and transfer sizes small
This Diagnostic audit doesn’t directly affect the website score on PageSpeed, as all the Diagnostics audits, but taking care of these aspects may improve other Performance metrics. A “request” refers
-
Handling external resources
This article was built as a guide on how the external content affects the performance of a site, and how site owners can handle them. The problem with external content Every website contains images,
-
Avoid chaining critical requests
What is a critical request chain? A critical request chain is a sequence of requests that depend on each other, and are essential for page rendering. It is determined by the Critical Rendering Path,
-
Lazy load third-party resources with facades
Heads up! This is an obsolete audit, which has been removed from PageSpeed after the changes in Lighthouse 13. Third-party resources are often used on websites to display videos or embed social media
-
How to cancel RocketCDN subscription?
What do you need ? Transfer my subscription to another domain Deactivate temporary to troubleshoot RocketCDN Cancel my RocketCDN subscription Transfer my subscription to another domain At the moment,
-
?nowprocket=1 appears in the site’s analytics
The Delay JavaScript execution feature isn’t compatible with Internet Explorer 11. If the Delay JavaScript execution feature is active, users of Internet Explorer 11 will be automatically redirected
-
Add missing image dimensions
This feature is available in the Media tab. How does this option help? When a browser is displaying a web page, it loads the HTML first and waits for the images to be downloaded. If the width and
-
Excluding external JavaScript from combine
Sometimes there can be an issue with external JavaScript files and minification/ concatenation. These 3rd party JavaScript files are also included in the combined file when enabling Combine
-
3rd parties
The 3rd parties insight flags resources that are included on your website but are not hosted on your server. These third-party scripts can block your page's critical rendering path and slow down your
-
LCP request discovery
The Largest Contentful Paint (LCP) element is the largest image, text block or video that is visible without scrolling the page. For best performance and user experience, this element should be
-
Image elements do not have explicit width and height
How WP Rocket can help? Our feature Add Missing Image Dimensions can be helpful to address this. This feature can be enabled on the Media tab. According to PageSpeed setting an explicit width and
-
Core Web Vitals Assessment
The Core Web Vitals Assessment shows the performance of a page based on the experience that real visitors had in the last 28 days. This assessment is displayed at the top of the PageSpeed test, as
-
Layout shift culprits
PageSpeed warns you about Layout shifts culprits when elements change their position without user interaction while the page is still loading. Layout shifts occur when elements move absent any user
-
Cumulative Layout Shift
Cumulative Layout Shift (CLS) is one of the Core Web Vitals. This article explains what this metric is, and how to improve it. Overview of Cumulative Layout Shift Based on PageSpeed, layout shifts
-
Preconnect to required origins
You should use “preconnect” or “dns-prefetch” hints to establish required connections to external origins as soon as possible. This means, you’re letting your browser know that your website is going