Title: LiteCache's Replies | WordPress.org

---

# litecache

  [  ](https://wordpress.org/support/users/litecache/)

 *   [Profile](https://wordpress.org/support/users/litecache/)
 *   [Topics Started](https://wordpress.org/support/users/litecache/topics/)
 *   [Replies Created](https://wordpress.org/support/users/litecache/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/litecache/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/litecache/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/litecache/engagements/)
 *   [Favorites](https://wordpress.org/support/users/litecache/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Image Header not recognized by Page Speed Insights and any other page speed tool](https://wordpress.org/support/topic/image-header-not-recognized-by-page-speed-insights-and-any-other-page-speed-tool/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/image-header-not-recognized-by-page-speed-insights-and-any-other-page-speed-tool/#post-16938133)
 * > Thanks! Page speed tool works fine after turning off the Guest mode.
 * But only if your page is cached.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/page/2/#post-16937996)
 * Even if it may read like a solution, this solution is not an unconditional solution.
   For example, when using guestmode, the value for the _lscache_vary cookie does
   not match. In addition, this solution implies that the built-in crawler could
   be used for a denial-of-service attack. Especially since there is no feedback
   on load control.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Header loading issue](https://wordpress.org/support/topic/header-loading-issue/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/header-loading-issue/#post-16935484)
 * > Could you please help me out?
 * You have activated the Guestmode. To understand why you have such a page effect,
   you should first read this blog post. If you still have trouble understanding
   it, feel free to get in touch.
 * [https://blog.litespeedtech.com/2021/06/01/guest-mode-for-wordpress-in-lscwp-v4-0/](https://blog.litespeedtech.com/2021/06/01/guest-mode-for-wordpress-in-lscwp-v4-0/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Image Header not recognized by Page Speed Insights and any other page speed tool](https://wordpress.org/support/topic/image-header-not-recognized-by-page-speed-insights-and-any-other-page-speed-tool/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/image-header-not-recognized-by-page-speed-insights-and-any-other-page-speed-tool/#post-16935468)
 * > Is there anyway I can solve this?
 * There is nothing to solve. You have activated Guestmode and as long as PageSpeed
   does not object, only the score matters. You can disable Guestmode and then your
   page will display normally at PageSpeed, but the score will drop. To better understand
   the Guestmode, please read the following:
 * [https://blog.litespeedtech.com/2021/06/01/guest-mode-for-wordpress-in-lscwp-v4-0/](https://blog.litespeedtech.com/2021/06/01/guest-mode-for-wordpress-in-lscwp-v4-0/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/page/2/#post-16934887)
 * >  Can you explain what do you mean by that?
 * Sorry, this forum doesn’t allow to post promotional links. Use Google instead
   please.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934840)
 * If you also have differentiated prices, then my criticism is put into perspective.
   But the problem with VPN remains. That’s why you have to take into account that
   someone can cheat cheaper prices.
 * As already mentioned, there is a way for you to warm up the cache for all users,
   but since this feature doesn’t work in the cache plugin anymore, there’s little
   point in giving you details about it. Luckily there are other cache crawlers…..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Google search console index error php file](https://wordpress.org/support/topic/google-search-console-index-error-php-file/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/google-search-console-index-error-php-file/#post-16934807)
 * Add this code to your .htaccess outside of LiteSpeed markers:
 *     ```
       RewriteCond %{REQUEST_URI} \/guest.vary\.php [NC]
       RewriteRule ^.*$ - [ENV=NOINDEX:true]
       header set X-Robots-Tag "noindex,nofollow,noodp" env=NOINDEX
       ```
   
 * The reason Google is reporting this error to you is that you had guestmode enabled
   in the past and now it seems you don’t. Actually, you don’t have to do anything
   at all, because Google is a bit sluggish and it takes a while for Google to figure
   out that guest.vary.php no longer exists. You have no disadvantages because of
   this.
 * After all, it is an integral part of the Internet that sources disappear or are
   deleted, but only Google expects a different status 410 and not just 404 (“soft”).
   There is no official soft 404. There is either a 404 or 404, but no soft 404.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934677)
 * You seem to have made up your mind that you want to use GEOIP despite the unsafe
   use of it. But I have to tell you again, the disadvantages of using GEOIP clearly
   outweigh them and are therefore disproportionate. Above all, you cannot warm 
   up the cache for EU users. There is a possibility that you could do it, but the
   necessary function in the cache plugin has not worked for a long time.
 * However, I assume that you only want to use the GEOIP for tax purposes.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934654)
 * > How will the cache work then?
 * There is no need to define extra cache vary for non EU visitors. Let’s say it’s
   the default cache vary. For these visiors you can use the crawler to warmup the
   cache.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934596)
 * > By the way, as I understand, the crawler will not know about this setup and
   > will only crawl create one set of cached pages – the other will be generated
   > from user visits, right?
 * Right.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934594)
 * > Yes, I’m using Maxmind DB with WooCommerce and they are displaying the prices
   > according to that so it should be ok.
 * Maxmind isn’t safe. If IP comes from VPN Maxmind will also fail.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934570)
 * This rule only creates different cache copies depending on the yountry a user
   comes from, but not else. You need a PHP function as well that uses the same 
   GEOIP database and this function displays price with or without tax depending
   on the yountry code. Both detection must be sync. Otherwise it will fail.
 * But note that the detection is not safe. If someone is using a VPN service, you
   are likely to run into problems. That’s why I wouldn’t do it, I stick to what’s
   mandatory in your country.
    -  This reply was modified 2 years, 10 months ago by [litecache](https://wordpress.org/support/users/litecache/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934536)
 * You must define all countries that are within EU and group them to 1 cache vary.
   Not tested, but the logic says that it should work.
 *     ```
       <IfModule mod_geoip.c>
       RewriteEngine on
       RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(DE|FR|IT|AT)$
       RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+eu]
       </IfModule>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Cache for European Union and outside it](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cache-for-european-union-and-outside-it/#post-16934393)
 * Ceck this: [https://docs.litespeedtech.com/lsws/cp/cpanel/geoip/](https://docs.litespeedtech.com/lsws/cp/cpanel/geoip/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] support avif format](https://wordpress.org/support/topic/support-avif-format/)
 *  [litecache](https://wordpress.org/support/users/litecache/)
 * (@litecache)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/support-avif-format/#post-16927871)
 * Using avif image format isn’t as easy as you might think, and it’s not as easy
   to solve with a .htaccess rule.
 * First you have to be aware that the cache plugin is not avif ready. This also
   applies to the built-in crawler. If you want to use a 3rd party plugin for generating
   avif images, then assume that all of the ones I know work incorrectly because
   they use the wrong criteria to detect if a browser supports the avif format .
   With a 3rd party plugin, the entire function for image optimization and for saving
   the original images becomes inactive or irrelevant. In the sum of all problems,
   you can assume that everything that has to do with images will no longer work.
   But there is hope. A plugin will be available shortly that will completely replace
   the cache plugin with the important function of avif replacement.
 * This includes the optimization of the images, the cache functions for avif images,
   the built-in crawler, the lazy load function. This not only makes it better, 
   but also faster, frees it from the bugs of the cache plugin and ultimately ensures
   a better PageSpeed Score. Explicitly programmed for LiteSpeed and the LiteSpeed
   Cache Plugin for WordPress. You just have to be patient. Next week it’s time.
    -  This reply was modified 2 years, 10 months ago by [litecache](https://wordpress.org/support/users/litecache/).

Viewing 15 replies - 1 through 15 (of 15 total)