stanley48
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Render-Blocking css_async.jsThank you, I also got this issue.
Can’t wait for v2.3Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite conditionsolved.
- This reply was modified 7 years, 11 months ago by stanley48.
Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite condition–
- This reply was modified 7 years, 11 months ago by stanley48.
Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite conditionHi, I was make sure this is actually from my .htaccess redirection.
Because I cannot accessing my post or pages
domain.com/linkCould you please check my .htaccess ? is there anything wrong ?
I was enable rewrite on my virtual host, but not add extra rewrite rules there, only on my .htaccess
- This reply was modified 7 years, 11 months ago by stanley48.
Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite conditionHi,
All css & js minified, included css_async.js are failed to load.
I think this problem on rewrite, but I’m not familiar with .htaccess
because link are generated by Litespeed Cache :
http://domain/min/css_async.jsand others.js got status 404but I try to access with including
index.phpit’s working.
http://domain/index.php/min/css_async.jsand got minified contentBest Regards
Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite conditionbtw, where is the file would saved ?
I had some files on my
/wp-content/cache/css/ - randomtext.css /wp-content/cache/js/ - randomtext1.js - randomtext2.js - randomtext3.jsI cannot find css_async.js on my /js/ folder, but still can access directly using
http://domain/index.php/min/css_async.jsAnd I also tried to access :
http://domain/index.php/min/randomtext1.js
It’s still working.Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite conditionHi,
Could you help me ?
Where I can find that webserver log and also php log on lsws ?Permission for wp-content is 0755.
Forum: Plugins
In reply to: [LiteSpeed Cache] Minify CSS & JS got 404 because rewrite conditionHi qtwrk,
This is the .htaccess content
# BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## <IfModule LiteSpeed> RewriteEngine on CacheLookup on RewriteRule .* - [E=Cache-Control:no-autoflush] RewriteRule ^min/\w+\.(css|js) - [E=cache-control:no-vary] ### marker CACHE RESOURCE start ### RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker LOGIN COOKIE start ### RewriteRule .? - [E="Cache-Vary:wp-postpass_2c7d48c23ed124744ae3fe9325ddeaa14d7"] ### marker LOGIN COOKIE end ### ### marker FAVICON start ### RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### </IfModule> ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ### marker MINIFY start ### <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$ RewriteCond %1/wp-content/cache/$2/$1.$2 -f RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L] </IfModule> ### marker MINIFY end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressForum: Plugins
In reply to: [LiteSpeed Cache] GZIP compressionHello Nicoter,
After setup gzip compression on the Litespeed server, yourdomain:7080
You don’t need to change anything in .htaccess for gzip compression
Can you check your php info with this code
<?php phpinfo(); ?>, findzlib.output_compressionMake sure your zlib.output_compression are turned On
If thatzlib.output_compression = Offchange it to On from your php.iniHope this help.