Title: bug report
Last modified: November 2, 2019

---

# bug report

 *  [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/)
 * does not work with polylang setting ‘When the front page is visited, set the 
   language according to the browser preference’

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

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12091016)
 * you need to contact the plugin developer. we must be sure that the feature works
   with the cache plugins or not.
 *  Thread Starter [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12091021)
 * thanx for your superfast reply 🙂 yep – that’s what i thought too and why i informed
   you both: [https://wordpress.org/support/topic/bug-report-111/](https://wordpress.org/support/topic/bug-report-111/)
 *  Thread Starter [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12091024)
 * moreover – thanx for your free and great working plugin! supereasy to set up –
   and in my tests way better results than ‘W3 Total Cache’ ‘LiteSpeed Cache’ ‘WP
   Super Cache’ ‘Hummingbird’.
 * cheers
    tom
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12091031)
 * > thanx for your superfast reply 🙂 yep – that’s what i thought too and why i
   > informed you both: [https://wordpress.org/support/topic/bug-report-111/](https://wordpress.org/support/topic/bug-report-111/)
 * let’s wait for the answer.
 * > moreover – thanx for your free and great working plugin! supereasy to set up–
   > and in my tests way better results than ‘W3 Total Cache’ ‘LiteSpeed Cache’ ‘
   > WP Super Cache’ ‘Hummingbird’.
 * thank you so much 🙂
 *  Thread Starter [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12091046)
 * have a nice weekend – keep up your great work.
    our frontpage with more than 
   12mb 160 requests (pix and video overkill) loads to first view within 1 second
   only because of your great work! [https:///www.shootoutside.com](https://wordpress.org/support/topic/bug-report-112/?output_format=md)
 *  Thread Starter [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12092248)
 * ok – finally the developer of polylang plugin answered:
 * ‘As far as I know, WP Rocket makes things automatically. The uncached page is
   served to new visitors to allow the detection of preferences, and the cached 
   page is served to returning visitors.’
 * but if this is really the way from wp rocket, I think it’s a pretty stupid way.
 * i wonder if the polylang thing would be feasible at all – or if the cache plugin
   always has to do it?
 * wouldn’t it be the simplest wp fastest cache would have a setting for the browser
   language query and would then set up a redirect in the .htaccess for the corresponding
   language cache?
 * e.g.:
 * `RewriteEngine On
 * RewriteCond %{HTTP:Accept-Language} ^en [NC]
    RewriteRule ^$ [http://mysite.com/en/](http://mysite.com/en/)[
   L,R=301]
 * RewriteCond %{HTTP:Accept-Language} ^de [NC]
    RewriteRule ^$ [http://mysite.com/de/](http://mysite.com/de/)[
   L,R=301]
 * RewriteCond %{HTTP:Accept-Language} ^nl [NC]
    RewriteRule ^$ [http://mysite.com/nl/](http://mysite.com/nl/)[
   L,R=301]
 * RewriteCond %{HTTP:Accept-Language} ^fr [NC]
    RewriteRule ^$ [http://mysite.com/fr/](http://mysite.com/fr/)[
   L,R=301]
 * RewriteCond %{HTTP:Accept-Language} ^es [NC]
    RewriteRule ^$ [http://mysite.com/es/](http://mysite.com/es/)[
   L,R=301]
 * RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f RewriteCond%{
   REQUEST_FILENAME} !-l
 * RewriteRule ^(en|de|nl|fr|es)/?$ index.php?lang=$1 [QSA,NC,L]
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12092453)
 * but Apache cannot detect the browser language.
 *  Thread Starter [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12092478)
 * ??? [http://www.giuseppeurso.eu/en/url-redirection-according-to-browser-language-apache-mod_rewrite/](http://www.giuseppeurso.eu/en/url-redirection-according-to-browser-language-apache-mod_rewrite/)
 *  Thread Starter [tommuc1](https://wordpress.org/support/users/tommuc1/)
 * (@tommuc1)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12092509)
 * but if that would be too unreliable or not perform well enough, a php-script 
   can take over the task as well. i think this can only be done in the caching 
   plugin and not in the voice plugin.
 * but frankly, the whole thing is not too important for us either – if it would
   be possible, it would be nice – if not, it doesn’t matter …
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12092521)
 * in the past I tried to implement it via PHP but I could not do it. The best way
   is getting via javascript.

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

The topic ‘bug report’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/bug-report-112/#post-12092521)
 * Status: not resolved