Title: wp-optimize cache problem
Last modified: May 14, 2021

---

# wp-optimize cache problem

 *  Resolved [zyzz3031](https://wordpress.org/support/users/zyzz3031/)
 * (@zyzz3031)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp-optimize-cache-problem/)
 * hi,
 * when i go to my site: md-dach.at the site doesnt switch to https and shows some
   icons wrong.
    when i then click on home for excample the site switches to https
   and everything works fine. but then i close the browser and reopen, its the same
   game. i tried deleting cookings browser cache and so on, nohting works.
 * then i disabled site caching and the problem is gone, but now i dont have a cache
   and my site is slower.
 * can anyone help?

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp-optimize-cache-problem/#post-14441061)
 * [@zyzz3031](https://wordpress.org/support/users/zyzz3031/) Your home link is 
   set to [https://www.md-dach.at/](https://www.md-dach.at/) that’s why it switches
   to https://
 * You’ll have to set a redirect rule in .htaccess file so that your site on initial
   attempt loads https version.
 *     ```
       RewriteEngine On
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://www.md-dach.at/$1 [R,L]
       ```
   
 *  Thread Starter [zyzz3031](https://wordpress.org/support/users/zyzz3031/)
 * (@zyzz3031)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp-optimize-cache-problem/#post-14448089)
 * it works, thx

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

The topic ‘wp-optimize cache problem’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [zyzz3031](https://wordpress.org/support/users/zyzz3031/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/wp-optimize-cache-problem/#post-14448089)
 * Status: resolved