splitmayo
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessnot working :(, if you acces to the website you will see the prices in clp, what would be the issue?
you can acces to the page in this link
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccesssorry ofr late reply, i added the following rule:
<IfModule LiteSpeed>
RewriteEngine on
RewriteRule .* – [E=Cache-Control:vary=%{ENV:HTTP_CF_IPCOUNTRY}]
</IfModule>i get this header in the phpinfo.php file
$_SERVER[‘HTTP_CF_IPCOUNTRY’] XX
its correct?
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessi created the phpinfo, and enabled a module geoip, and only get this:
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessi have cloudflare enabled and linked with litespeed plugin, the rules is not working, i think is beacause there is not a “CF-IPCountry ” name and value in the headers? if all where fine, i will find this value in headers ? (CF-IPCountry)
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessNot working for me ?? , im doing something wrong?
<IfModule LiteSpeed> RewriteEngine on RewriteRule .* - [E=Cache-Control:vary=%{HTTP:CF-IPCountry}] </IfModule> # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
i need to do some config in cloudflare?
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessthere is an alternative way? i dont have the knowledge and the permissons for that :(, im in a shared hosting enviroment.
thanks for your reply
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessso, for ggeo vary the code for htaccess will look like this? its correct?
<IfModule LiteSpeed> RewriteEngine on CacheLookup on RewriteRule .* - [E=Cache-Control:vary=%{ENV:GEO_COUNTRY}] RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency] </IfModule>
thanks in advance
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessSo, does the cache vary according to geolocation?
why is not working in my case?
there is a rewriterule tat excludes from cache?
thanks a lot for your support
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude plugin from being cachedNot working, when i add the cookie like this:
wmc_current_currency
wordpress_lp_cartEtc.
Its correct?
by the way, when i add the cookies like this, the headers says the following:
x-litespeed-cache-control: miss
an endless missKJCFZMMP
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessthis rule i put:
RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency]
it caches the whole page.
its supposed that code will exclude the cache for a price based in geolocation, for example if you access to the page in chile, you will see the price in CLP. but if you access from europe, or argentina, you will se the price in USD.and this is not working. what im doing wrong?
Forum: Plugins
In reply to: [LiteSpeed Cache] issues with htaccessi have the following code on my .htaccess file:
<IfModule LiteSpeed> CacheLookup on RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency] </IfModule> # 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 \.object-cache\.ini - [F,L] ### 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 FAVICON start ### RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### ### marker DROPQS start ### CacheKeyModify -qs:fbclid CacheKeyModify -qs:gclid CacheKeyModify -qs:utm* CacheKeyModify -qs:_ga ### marker DROPQS end ### </IfModule> ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE
?What im doing wrong?
this is my ticket number:
KJCFZMMPForum: Plugins
In reply to: [LiteSpeed Cache] Exclude plugin from being cachedwhat do you mean ?, you mean not exclude cookies?