HamidReza Abdipour
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorHi,
I update LSWPCACHE to Version 3.7-rc18
After update and save settings again, that block of rulesets removed from htaccess.
Problem solved. All sites loaded properly.
Thank you.Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorYes. with your ruleset (or even remove this block) all subsites loaded properly.
Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorHi,
Yes LSCWP is network activated. Page optimization configured for each site.I tried with that rulset and issue fixed. But every time I save LSCWP settings, rulsets reset to default.
Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorHi,
The multisite network installed on k____h.com
Multisite configured to subdirectory for subsites and we have 3 subsites:
Main site: k____h.com/
blog1: k____h.com/book/
blog2: k____h.com/cookbook/
blog3: k____h.com/landings/Also the main site is multilangual with two subdirectories:
k____h.com/en/
k____h.com/fa/Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorI found the problem.
This code auto generated in .htaccess:### marker Network CSS/JS Auto Generation Rules start ### RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/book/wp-content RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-content/litespeed/cssjs/.*) $2 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^/book/wp-content/litespeed/cssjs/.+\.(css|js)$ RewriteRule . /book/index.php [L] ### marker Network CSS/JS Auto Generation Rules end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##Problem solved by removing this code.
Why this code generated only for this blog? How to prevent generating again?Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorSorry for the delay in reply.
No, there is’nt any other optimization/cache plugin.
I tested it with disabling Remove Query Strings option in LSCache. But the problem persists.Could htaccess redirects cause this?
Forum: Plugins
In reply to: [LiteSpeed Cache] 302 Found errorSure.
Status:
Status: 302 Found Version: HTTP/2 Transferred: 371 B (0 B size) Referrer Policy: strict-origin-when-cross-originResponse Header:
HTTP/2 302 Found x-redirect-by: WordPress location: https://kalleh.com/book/wp-content/litespeed/cssjs/17d9a.css x-litespeed-cache-control: no-cache content-type: text/html; charset=UTF-8 content-length: 0 date: Wed, 24 Feb 2021 04:34:42 GMT server: LiteSpeed cache-control: no-cache, no-store, must-revalidate, max-age=0 vary: User-Agent X-Firefox-Spdy: h2Request Header:
GET /book/wp-content/litespeed/cssjs/17d9a.css HTTP/2 Host: kalleh.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0 Accept: text/css,*/*;q=0.1 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: https://kalleh.com/book/ DNT: 1 Connection: keep-alive Cookie: _gcl_au=1.1.728813197.1614077735; ls_smartpush=fdf041077ffff6d3; wp-wpml_current_language=en Pragma: no-cache Cache-Control: no-cache TE: TrailersI’m sure the ‘CSS HTTP/2 Push’ and ‘JS HTTP/2 Push’ are disable when get this results.
- This reply was modified 5 years, 2 months ago by HamidReza Abdipour.
Forum: Plugins
In reply to: [LiteSpeed Cache] lazyload images loaded eventHi, thanks for your reply.
I should add an jQuery function after the lazyload finished. There is no way to listening on body classes changing.Forum: Plugins
In reply to: [LiteSpeed Cache] lazyload images loaded eventThanks for your reply. No. there is no any other lazy load. Actually there is no any conflict. Just because of lazyload function, i can’t find out when images are loaded.
imagesloaded just a jquery library to detect when images have been loaded.
Forum: Plugins
In reply to: [LiteSpeed Cache] Wrong combining styles in multisiteHi,
I re-enable that options to find the issue.
Based on “Combined CSS Priority” and “Combined JS Priority” option’s description that says “Only set to ON when changing the order of combined and uncombined CSS is needed.”. Since i don’t need these options, they have to be left off.
Then i enable these options in primary site:Load CSS Asynchronously
-Generate Critical CSS
-Generate Critical CSS In Background
-Inline CSS Async LibStill there is no issue. So i get into second site and try to enable these options one by one:
Load CSS Asynchronously
-Generate Critical CSS
-Generate Critical CSS In Background
-Inline CSS Async LibBy enabling “Load CSS Asynchronously” still everything’s good. After enable “Generate Critical CSS” the second site get into problem and some JS conflicts.
- This reply was modified 6 years, 2 months ago by HamidReza Abdipour.
Forum: Plugins
In reply to: [LiteSpeed Cache] Wrong combining styles in multisiteI find out the issue also occurs in JS files.
So turned off this options:Combined CSS Priority
Combined JS Priority
Load CSS Asynchronously
-Generate Critical CSS
-Generate Critical CSS In Background
-Inline CSS Async LibIn both sites and it seems issue fixed. Can’t we use the async CSS and CCSS in multisite?
- This reply was modified 6 years, 2 months ago by HamidReza Abdipour.
Forum: Plugins
In reply to: [LiteSpeed Cache] Wrong combining styles in multisiteSure. This report sent from primary site:
LiteSpeed Report NumberReport number: HQIYIQJX
Report date: 02/29/2020 06:51:22