Cached pages to logged in users?!

[ad_1]

there must be a server-side cache system. you need to disable it.

Hey Emre,

thanks for your answer!

I have done this (like written in the description of my hosting company):
in .user.ini added “opcache.enable=0”
and in .htaccess added “Header always set Cache-Control: s-maxage=0”
but it seems to have no effect.
Logged in users (subscribers) still see cached pages and seemed to recognized as non-logged in users on some pages.

You can test it here:

U: Emre
P: test1708

When logged in, you should see the black admin bar in top of the page. Then please click on “Startseite” or other pages and categories and you should see, that you’re not always logged in. (Logged in users shouldn’t see AdSense Ads, too.)

Do you have an idea?

regards,
Alex

Hey Emre,

seems, that I was a little bit impatient. Now, with the new server-side settings, it seems to work proper.

Thanks for your advise!

Alex

you are welcome 🙂 if you vote, you make me so happy. 

  • This reply was modified 17 minutes ago by Emre Vona.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer