Comments (3)
rocketlabs is using WPML and the issue is repoducable there.
from wp-rocket.
Reproduce the issue
I cannot reproduce the second scenario.
Root issue
For the first scenario is due to that line
which add the new host url in all occurence in the url instead of just the domain leading to a extension added twice to the ll css generated file.Scope a solution
We should change str_replace
by preg_replace
with the parameter one to stop at the first occurence.
Estimate effort
Effort XS
from wp-rocket.
Fix for first scenario looks good to me
from wp-rocket.
Related Issues (20)
- As a OCI user, I want control over the accuracy/quick triggering trade-off of the beacon so that I can reduce wrong detection on pages with large images or users with slow internet connections HOT 1
- FetchPriority should ignore inline images (e.g. encoded SVgs) HOT 1
- Largest element with a background-image that is not kept (such as linear-gradient) makes the OCI optimization have no LCP HOT 4
- Truncate OCI table on update to 3.16.1
- 404 file mini file CSS & JS (When using Nginx Cache + Wp Rocket) HOT 1
- Not compatible with Complianz Premium plugin (Cookie consent) HOT 1
- Not compatible with PHP 8.1 HOT 1
- PHP Warning: Undefined array key "returnvalue"
- Clear Used CSS button in Divi notice does not work
- Rebrand `Remove Unused CSS` to `Reduce Unused CSS` to reflect what the feature does HOT 1
- Wrong CSS/JS link in subdomain HOT 1
- PHP Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given in /www/mysite_815/public/wp-content/plugins/wp-rocket/inc/Engine/Optimization/RegexTrait.php:151 HOT 1
- Adjust lcp-beacon.min.js timeout to be relative to `rocket_lcp_data.delay`
- Preconnect One.com CDN domain when their CDN is enabled
- Uncaught TypeError JobProcessor::send_api() HOT 1
- As a user, I want the homepage preloaded with accurate OCI data upon fresh activation. HOT 1
- Conflict with Yoast SEO and ATF feature
- On fresh installs, OCI warm-up for not-homepages might be missing mobile requests if the task is triggered before options are set
- Increase PHPStan level to 2
- Filter to exclude elements from LCP HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-rocket.