Logged in user caching issue
-
I am facing caching issues for the logged in user.
I also did checked for the cache to be disabled for the logged in user, please see this screenshot – https://prnt.sc/jtxhpv
And also added code in the header.php file:
<?php
if(is_user_logged_in())
{ ?><meta http-equiv=”Cache-Control” content=”no-cache, no-store, must-revalidate” />
<meta http-equiv=”Pragma” content=”no-cache” />
<meta http-equiv=”Expires” content=”0″ />
<?php
} ?>But this also not working.
After user is logged in, and when come to home page he is not seeing the logout button and instead he is seeing the login/signup buttons, and after doing hard refresh and clearing only cache (CTL+ALT+DEL) it showing the logout button or if adding any query parameters to the url then also its showing the logout button if logged in.
And I also added this code in my functions.php file:
add_action( ‘wp’, ‘exploreabc_tj_flush_cache_event’ );
function exploreabc_tj_flush_cache_event()
{
if ( ! wp_next_scheduled( ‘exploreabc_tj_flush_cache_event’ ) )
{
wp_schedule_event( current_time( ‘timestamp’ ), ‘hourly’, ‘exploreabc_tj_flush_w3tc_cache’ );
}
}Please help me out to solve this issue ASAP
Thanks
The page I need help with: [log in to see the link]
-
Does the user that is logged in have the Contributor role? If not, then the Page Cache will still show the cache, because you only allow Contributor role to bypass Page Cache.
Could you share the contents of your
wp-content/w3tc-config/master.php
file so I can replicate your issue? I think it might have something to do with Browser Cache allowing for HTML to be cached, which means if they visit the same page they visited before logging in, the browser will fetch the page from it’s own cache.Does the user that is logged in have the Contributor role? If not, then the Page Cache will still show the cache, because you only allow Contributor role to bypass Page Cache.
==> Yes they do have the contributor role – I had checked this because the logged in checkbox was not working. neither this is working for me.<?php exit; ?>{
“version”: “0.9.7”,
“cluster.messagebus.debug”: false,
“cluster.messagebus.enabled”: false,
“cluster.messagebus.sns.region”: “”,
“cluster.messagebus.sns.api_key”: “”,
“cluster.messagebus.sns.api_secret”: “”,
“cluster.messagebus.sns.topic_arn”: “”,
“dbcache.configuration_overloaded”: false,
“dbcache.debug”: “0”,
“dbcache.enabled”: “0”,
“dbcache.engine”: “file”,
“dbcache.file.gc”: 3600,
“dbcache.file.locking”: false,
“dbcache.lifetime”: 180,
“dbcache.memcached.persistent”: true,
“dbcache.memcached.aws_autodiscovery”: false,
“dbcache.memcached.servers”: [
“127.0.0.1:11211”
],
“dbcache.memcached.username”: “”,
“dbcache.memcached.password”: “”,
“dbcache.redis.persistent”: true,
“dbcache.redis.servers”: [
“127.0.0.1:6379”
],
“dbcache.redis.password”: “”,
“dbcache.redis.dbid”: 0,
“dbcache.use_filters”: false,
“dbcache.reject.constants”: [
“APP_REQUEST”,
“DOING_CRON”,
“DONOTCACHEDB”,
“SHORTINIT”,
“XMLRPC_REQUEST”
],
“dbcache.reject.cookie”: [],
“dbcache.reject.logged”: true,
“dbcache.reject.sql”: [
“gdsr_”,
“wp_rg_”,
“_wp_session_”
],
“dbcache.reject.uri”: [],
“dbcache.reject.words”: [
“^\\s*insert\\b”,
“^\\s*delete\\b”,
“^\\s*update\\b”,
“^\\s*replace\\b”,
“^\\s*create\\b”,
“^\\s*alter\\b”,
“^\\s*show\\b”,
“^\\s*set\\b”,
“\\bautoload\\s+=\\s+’yes'”,
“\\bsql_calc_found_rows\\b”,
“\\bfound_rows\\(\\)”
],
“objectcache.configuration_overloaded”: false,
“objectcache.enabled”: “1”,
“objectcache.debug”: “0”,
“objectcache.enabled_for_wp_admin”: true,
“objectcache.fallback_transients”: true,
“objectcache.engine”: “file”,
“objectcache.file.gc”: 3600,
“objectcache.file.locking”: false,
“objectcache.memcached.servers”: [
“127.0.0.1:11211”
],
“objectcache.memcached.persistent”: true,
“objectcache.memcached.aws_autodiscovery”: false,
“objectcache.memcached.username”: “”,
“objectcache.memcached.password”: “”,
“objectcache.redis.persistent”: true,
“objectcache.redis.servers”: [
“127.0.0.1:6379”
],
“objectcache.redis.password”: “”,
“objectcache.redis.dbid”: 0,
“objectcache.groups.global”: [
“users”,
“userlogins”,
“usermeta”,
“user_meta”,
“site-transient”,
“site-options”,
“site-lookup”,
“blog-lookup”,
“blog-details”,
“rss”,
“global-posts”
],
“objectcache.groups.nonpersistent”: [
“comment”,
“counts”,
“plugins”
],
“objectcache.lifetime”: 180,
“objectcache.purge.all”: false,
“pgcache.configuration_overloaded”: false,
“pgcache.enabled”: “1”,
“pgcache.comment_cookie_ttl”: “1800”,
“pgcache.debug”: “0”,
“pgcache.engine”: “file_generic”,
“pgcache.file.gc”: “3600”,
“pgcache.file.nfs”: false,
“pgcache.file.locking”: false,
“pgcache.lifetime”: 3600,
“pgcache.memcached.servers”: [
“127.0.0.1:11211”
],
“pgcache.memcached.persistent”: true,
“pgcache.memcached.aws_autodiscovery”: false,
“pgcache.memcached.username”: “”,
“pgcache.memcached.password”: “”,
“pgcache.redis.persistent”: true,
“pgcache.redis.servers”: [
“127.0.0.1:6379”
],
“pgcache.redis.password”: “”,
“pgcache.redis.dbid”: 0,
“pgcache.cache.query”: false,
“pgcache.cache.home”: “1”,
“pgcache.cache.feed”: “0”,
“pgcache.cache.nginx_handle_xml”: “0”,
“pgcache.cache.ssl”: “1”,
“pgcache.cache.404”: “0”,
“pgcache.cache.headers”: [
“Last-Modified”,
“Content-Type”,
“X-Pingback”,
“P3P”,
“Link”
],
“pgcache.compatibility”: “0”,
“pgcache.remove_charset”: “0”,
“pgcache.accept.uri”: [
“sitemap(_index)?\\.xml(\\.gz)?”,
“([a-z0-9_\\-]+)?sitemap\\.xsl”,
“[a-z0-9_\\-]+-sitemap([0-9]+)?\\.xml(\\.gz)?”
],
“pgcache.accept.files”: [
“wp-comments-popup.php”,
“wp-links-opml.php”,
“wp-locations.php”
],
“pgcache.accept.qs”: [
“”
],
“pgcache.late_init”: “0”,
“pgcache.late_caching”: “0”,
“pgcache.mirrors.enabled”: “0”,
“pgcache.mirrors.home_urls”: [
“”
],
“pgcache.reject.front_page”: “0”,
“pgcache.reject.logged”: “1”,
“pgcache.reject.logged_roles”: “1”,
“pgcache.reject.roles”: [
“contributor”
],
“pgcache.reject.uri”: [
“wp-.*\\.php”,
“index\\.php”,
“login\/*”
],
“pgcache.reject.categories”: [
“”
],
“pgcache.reject.tags”: [
“”
],
“pgcache.reject.authors”: [
“”
],
“pgcache.reject.custom”: [
“”
],
“pgcache.reject.ua”: [
“”
],
“pgcache.reject.cookie”: [
“wptouch_switch_toggle”
],
“pgcache.reject.request_head”: false,
“pgcache.purge.front_page”: “0”,
“pgcache.purge.home”: “1”,
“pgcache.purge.post”: “1”,
“pgcache.purge.comments”: “0”,
“pgcache.purge.author”: “0”,
“pgcache.purge.terms”: “0”,
“pgcache.purge.archive.daily”: “0”,
“pgcache.purge.archive.monthly”: “0”,
“pgcache.purge.archive.yearly”: “0”,
“pgcache.purge.feed.blog”: “1”,
“pgcache.purge.feed.comments”: “0”,
“pgcache.purge.feed.author”: “0”,
“pgcache.purge.feed.terms”: “0”,
“pgcache.purge.feed.types”: [
“rss2”
],
“pgcache.purge.postpages_limit”: “10”,
“pgcache.purge.pages”: [
“”
],
“pgcache.purge.sitemap_regex”: “([a-z0-9_\\-]*?)sitemap([a-z0-9_\\-]*)?\\.xml”,
“pgcache.prime.enabled”: “0”,
“pgcache.prime.interval”: “900”,
“pgcache.prime.limit”: “10”,
“pgcache.prime.sitemap”: “”,
“pgcache.prime.post.enabled”: “0”,
“pgcache.rest”: “”,
“pgcache.cookiegroups.enabled”: true,
“pgcache.cookiegroups.groups”: {
“mobile”: {
“enabled”: false,
“cache”: true,
“cookies”: [
“wptouch-pro-cache-state=mobile”,
“wptouch-pro-view=mobile”
]
},
“loggedin”: {
“enabled”: true,
“cache”: false,
“cookies”: [
“wordpress_logged_in_.*”
]
},
“subscribers”: {
“enabled”: false,
“cache”: true,
“cookies”: [
“role=member”,
“role=subscriber”
]
}
},
“stats.enabled”: “0”,
“minify.configuration_overloaded”: false,
“minify.enabled”: “1”,
“minify.auto”: “1”,
“minify.debug”: “0”,
“minify.engine”: “file”,
“minify.error.notification”: “”,
“minify.file.gc”: “86400”,
“minify.file.nfs”: false,
“minify.file.locking”: false,
“minify.memcached.servers”: [
“127.0.0.1:11211”
],
“minify.memcached.persistent”: true,
“minify.memcached.aws_autodiscovery”: false,
“minify.memcached.username”: “”,
“minify.memcached.password”: “”,
“minify.redis.persistent”: true,
“minify.redis.servers”: [
“127.0.0.1:6379”
],
“minify.redis.password”: “”,
“minify.redis.dbid”: 0,
“minify.rewrite”: “1”,
“minify.options”: [],
“minify.symlinks”: [],
“minify.lifetime”: “86400”,
“minify.upload”: true,
“minify.html.enable”: “0”,
“minify.html.engine”: “html”,
“minify.html.reject.feed”: “0”,
“minify.html.inline.css”: “0”,
“minify.html.inline.js”: “0”,
“minify.html.strip.crlf”: “0”,
“minify.html.comments.ignore”: [
“google_ad_”,
“RSPEAK_”
],
“minify.css.combine”: “0”,
“minify.css.enable”: “0”,
“minify.css.engine”: “css”,
“minify.css.http2push”: “0”,
“minify.css.strip.comments”: “0”,
“minify.css.strip.crlf”: “0”,
“minify.css.embed”: false,
“minify.css.imports”: “”,
“minify.css.groups”: [],
“minify.js.http2push”: “0”,
“minify.js.enable”: “1”,
“minify.js.engine”: “js”,
“minify.js.combine.header”: “0”,
“minify.js.header.embed_type”: “blocking”,
“minify.js.combine.body”: false,
“minify.js.body.embed_type”: “blocking”,
“minify.js.combine.footer”: false,
“minify.js.footer.embed_type”: “blocking”,
“minify.js.strip.comments”: “0”,
“minify.js.strip.crlf”: “0”,
“minify.js.groups”: [],
“minify.yuijs.path.java”: “java”,
“minify.yuijs.path.jar”: “yuicompressor.jar”,
“minify.yuijs.options.line-break”: 5000,
“minify.yuijs.options.nomunge”: false,
“minify.yuijs.options.preserve-semi”: false,
“minify.yuijs.options.disable-optimizations”: false,
“minify.yuicss.path.java”: “java”,
“minify.yuicss.path.jar”: “yuicompressor.jar”,
“minify.yuicss.options.line-break”: 5000,
“minify.ccjs.path.java”: “java”,
“minify.ccjs.path.jar”: “compiler.jar”,
“minify.ccjs.options.compilation_level”: “SIMPLE_OPTIMIZATIONS”,
“minify.ccjs.options.formatting”: “”,
“minify.csstidy.options.remove_bslash”: true,
“minify.csstidy.options.compress_colors”: false,
“minify.csstidy.options.compress_font-weight”: false,
“minify.csstidy.options.lowercase_s”: false,
“minify.csstidy.options.optimise_shorthands”: 0,
“minify.csstidy.options.remove_last_;”: false,
“minify.csstidy.options.remove_space_before_important”: false,
“minify.csstidy.options.case_properties”: 1,
“minify.csstidy.options.sort_properties”: false,
“minify.csstidy.options.sort_selectors”: false,
“minify.csstidy.options.merge_selectors”: 0,
“minify.csstidy.options.discard_invalid_selectors”: false,
“minify.csstidy.options.discard_invalid_properties”: false,
“minify.csstidy.options.css_level”: “CSS3.0”,
“minify.csstidy.options.preserve_css”: false,
“minify.csstidy.options.timestamp”: false,
“minify.csstidy.options.template”: “highest_compression”,
“minify.htmltidy.options.clean”: false,
“minify.htmltidy.options.hide-comments”: true,
“minify.htmltidy.options.wrap”: 0,
“minify.reject.logged”: “0”,
“minify.reject.ua”: [
“”
],
“minify.reject.uri”: [
“”
],
“minify.reject.files.js”: [
“”
],
“minify.reject.files.css”: [
“”
],
“minify.cache.files”: [
“”
],
“minify.cache.files_regexp”: “0”,
“cdn.configuration_overloaded”: false,
“cdn.enabled”: “1”,
“cdn.debug”: “0”,
“cdn.engine”: “maxcdn”,
“cdn.uploads.enable”: true,
“cdn.includes.enable”: true,
“cdn.includes.files”: “*.css;*.js;*.gif;*.png;*.jpg;*.xml”,
“cdn.theme.enable”: true,
“cdn.theme.files”: “*.css;*.js;*.gif;*.png;*.jpg;*.ico;*.ttf;*.otf;*.woff;*.woff2;*.less”,
“cdn.minify.enable”: true,
“cdn.custom.enable”: true,
“cdn.custom.files”: [
“favicon.ico”,
“{wp_content_dir}\/gallery\/*”,
“{wp_content_dir}\/uploads\/avatars\/*”,
“{plugins_dir}\/wordpress-seo\/css\/xml-sitemap.xsl”,
“{plugins_dir}\/wp-minify\/min*”,
“{plugins_dir}\/*.js”,
“{plugins_dir}\/*.css”,
“{plugins_dir}\/*.gif”,
“{plugins_dir}\/*.jpg”,
“{plugins_dir}\/*.png”
],
“cdn.import.files”: false,
“cdn.queue.interval”: 900,
“cdn.queue.limit”: 25,
“cdn.force.rewrite”: false,
“cdn.autoupload.enabled”: false,
“cdn.autoupload.interval”: 3600,
“cdn.canonical_header”: false,
“cdn.admin.media_library”: false,
“cdn.cors_header”: true,
“cdn.ftp.host”: “”,
“cdn.ftp.type”: “”,
“cdn.ftp.user”: “”,
“cdn.ftp.pass”: “”,
“cdn.ftp.path”: “”,
“cdn.ftp.pasv”: false,
“cdn.ftp.domain”: [],
“cdn.ftp.ssl”: “auto”,
“cdn.google_drive.client_id”: “”,
“cdn.google_drive.refresh_token”: “”,
“cdn.google_drive.folder.id”: “”,
“cdn.google_drive.folder.title”: “”,
“cdn.google_drive.folder.url”: “”,
“cdn.highwinds.account_hash”: “”,
“cdn.highwinds.api_token”: “”,
“cdn.highwinds.host.hash_code”: “”,
“cdn.highwinds.host.domains”: [],
“cdn.highwinds.ssl”: “auto”,
“cdn.s3.key”: “”,
“cdn.s3.secret”: “”,
“cdn.s3.bucket”: “”,
“cdn.s3.bucket.location”: “us-east-1”,
“cdn.s3.cname”: [],
“cdn.s3.ssl”: “auto”,
“cdn.s3_compatible.api_host”: “auto”,
“cdn.cf.key”: “”,
“cdn.cf.secret”: “”,
“cdn.cf.bucket”: “”,
“cdn.cf.bucket.location”: “us-east-1”,
“cdn.cf.id”: “”,
“cdn.cf.cname”: [],
“cdn.cf.ssl”: “auto”,
“cdn.cf2.key”: “”,
“cdn.cf2.secret”: “”,
“cdn.cf2.id”: “”,
“cdn.cf2.cname”: [],
“cdn.cf2.ssl”: “”,
“cdn.rscf.user”: “”,
“cdn.rscf.key”: “”,
“cdn.rscf.location”: “us”,
“cdn.rscf.container”: “”,
“cdn.rscf.cname”: [],
“cdn.rscf.ssl”: “auto”,
“cdn.rackspace_cdn.user_name”: “”,
“cdn.rackspace_cdn.api_key”: “”,
“cdn.rackspace_cdn.region”: “”,
“cdn.rackspace_cdn.service.access_url”: “”,
“cdn.rackspace_cdn.service.id”: “”,
“cdn.rackspace_cdn.service.name”: “”,
“cdn.rackspace_cdn.service.protocol”: “http”,
“cdn.rackspace_cdn.domains”: [],
“cdn.azure.user”: “”,
“cdn.azure.key”: “”,
“cdn.azure.container”: “”,
“cdn.azure.cname”: [],
“cdn.azure.ssl”: “auto”,
“cdn.mirror.domain”: [],
“cdn.mirror.ssl”: “auto”,
“cdn.limelight.short_name”: “”,
“cdn.limelight.username”: “”,
“cdn.limelight.api_key”: “”,
“cdn.limelight.host.domains”: [],
“cdn.limelight.ssl”: “auto”,
“cdn.maxcdn.authorization_key”: “”,
“cdn.maxcdn.domain”: [],
“cdn.maxcdn.ssl”: “auto”,
“cdn.maxcdn.zone_id”: 0,
“cdn.cotendo.username”: “”,
“cdn.cotendo.password”: “”,
“cdn.cotendo.zones”: [],
“cdn.cotendo.domain”: [],
“cdn.cotendo.ssl”: “auto”,
“cdn.akamai.username”: “”,
“cdn.akamai.password”: “”,
“cdn.akamai.email_notification”: [],
“cdn.akamai.action”: “invalidate”,
“cdn.akamai.zone”: “production”,
“cdn.akamai.domain”: [],
“cdn.akamai.ssl”: “auto”,
“cdn.edgecast.account”: “”,
“cdn.edgecast.token”: “”,
“cdn.edgecast.domain”: [],
“cdn.edgecast.ssl”: “auto”,
“cdn.att.account”: “”,
“cdn.att.token”: “”,
“cdn.att.domain”: [],
“cdn.att.ssl”: “auto”,
“cdn.stackpath.authorization_key”: “”,
“cdn.stackpath.domain”: [],
“cdn.stackpath.ssl”: “auto”,
“cdn.stackpath.zone_id”: 0,
“cdn.reject.admins”: false,
“cdn.reject.logged_roles”: false,
“cdn.reject.roles”: [],
“cdn.reject.ua”: [],
“cdn.reject.uri”: [],
“cdn.reject.files”: [
“{uploads_dir}\/wpcf7_captcha\/*”,
“{uploads_dir}\/imagerotator.swf”,
“{plugins_dir}\/wp-fb-autoconnect\/facebook-platform\/channel.html”
],
“cdn.reject.ssl”: false,
“cdnfsd.enabled”: “0”,
“cdnfsd.engine”: “”,
“cdnfsd.debug”: false,
“cdnfsd.cloudfront.access_key”: “”,
“cdnfsd.cloudfront.secret_key”: “”,
“cdnfsd.cloudfront.distribution_id”: “”,
“cdnfsd.limelight.short_name”: “”,
“cdnfsd.limelight.username”: “”,
“cdnfsd.limelight.api_key”: “”,
“cdnfsd.maxcdn.api_key”: “”,
“cdnfsd.maxcdn.zone_id”: 0,
“cdnfsd.stackpath.api_key”: “”,
“cdnfsd.stackpath.zone_id”: 0,
“varnish.configuration_overloaded”: false,
“varnish.enabled”: “0”,
“varnish.debug”: false,
“varnish.servers”: [
“”
],
“browsercache.configuration_overloaded”: false,
“browsercache.enabled”: “1”,
“browsercache.rewrite”: “0”,
“browsercache.no404wp”: “0”,
“browsercache.no404wp.exceptions”: [
“robots\\.txt”,
“[a-z0-9_\\-]*sitemap[a-z0-9_\\-]*\\.(xml|xsl|html)(\\.gz)?”
],
“browsercache.cssjs.last_modified”: “1”,
“browsercache.cssjs.compression”: “1”,
“browsercache.cssjs.expires”: “1”,
“browsercache.cssjs.lifetime”: “31536000”,
“browsercache.cssjs.nocookies”: “1”,
“browsercache.cssjs.cache.control”: “0”,
“browsercache.cssjs.cache.policy”: “cache_public_maxage”,
“browsercache.cssjs.etag”: “1”,
“browsercache.cssjs.w3tc”: “0”,
“browsercache.cssjs.replace”: “0”,
“browsercache.cssjs.querystring”: “0”,
“browsercache.html.compression”: “1”,
“browsercache.html.last_modified”: “0”,
“browsercache.html.expires”: “0”,
“browsercache.html.lifetime”: “3600”,
“browsercache.html.cache.control”: “0”,
“browsercache.html.cache.policy”: “cache_public_maxage”,
“browsercache.html.etag”: “0”,
“browsercache.html.w3tc”: “0”,
“browsercache.html.replace”: false,
“browsercache.other.last_modified”: “1”,
“browsercache.other.compression”: “1”,
“browsercache.other.expires”: “1”,
“browsercache.other.lifetime”: “31536000”,
“browsercache.other.nocookies”: “1”,
“browsercache.other.cache.control”: “0”,
“browsercache.other.cache.policy”: “cache_public_maxage”,
“browsercache.other.etag”: “1”,
“browsercache.other.w3tc”: “0”,
“browsercache.other.replace”: “0”,
“browsercache.other.querystring”: “0”,
“browsercache.replace.exceptions”: [
“”
],
“browsercache.security.session.cookie_httponly”: “”,
“browsercache.security.session.cookie_secure”: “”,
“browsercache.security.session.use_only_cookies”: “”,
“browsercache.hsts”: “0”,
“browsercache.security.hsts.directive”: “maxage”,
“browsercache.security.xfo”: false,
“browsercache.security.xfo.directive”: “same”,
“browsercache.security.xfo.allow”: “”,
“browsercache.security.xss”: false,
“browsercache.security.xss.directive”: “block”,
“browsercache.security.xcto”: false,
“browsercache.security.pkp”: false,
“browsercache.security.pkp.pin”: “”,
“browsercache.security.pkp.pin.backup”: “”,
“browsercache.security.pkp.extra”: “maxage”,
“browsercache.security.pkp.report.url”: “”,
“browsercache.security.pkp.report.only”: “0”,
“browsercache.security.referrer.policy”: “false”,
“browsercache.security.referrer.policy.directive”: “0”,
“browsercache.security.csp”: false,
“browsercache.security.csp.base”: “”,
“browsercache.security.csp.frame”: “”,
“browsercache.security.csp.connect”: “”,
“browsercache.security.csp.font”: “”,
“browsercache.security.csp.script”: “”,
“browsercache.security.csp.style”: “”,
“browsercache.security.csp.img”: “”,
“browsercache.security.csp.media”: “”,
“browsercache.security.csp.object”: “”,
“browsercache.security.csp.plugin”: “”,
“browsercache.security.csp.form”: “”,
“browsercache.security.csp.frame.ancestors”: “”,
“browsercache.security.csp.sandbox”: “”,
“browsercache.security.csp.default”: “”,
“mobile.configuration_overloaded”: false,
“mobile.enabled”: false,
“mobile.rgroups”: {
“high”: {
“theme”: “”,
“enabled”: false,
“redirect”: “”,
“agents”: [
“android”,
“mobi”,
“bada”,
“incognito”,
“kindle”,
“maemo”,
“opera\\ mini”,
“s8000”,
“series60”,
“ucbrowser”,
“ucweb”,
“webmate”,
“webos”
]
},
“low”: {
“theme”: “”,
“enabled”: false,
“redirect”: “”,
“agents”: [
“2\\.0\\ mmp”,
“240×320”,
“alcatel”,
“amoi”,
“asus”,
“au\\-mic”,
“audiovox”,
“avantgo”,
“benq”,
“bird”,
“blackberry”,
“blazer”,
“cdm”,
“cellphone”,
“danger”,
“ddipocket”,
“docomo”,
“dopod”,
“elaine\/3\\.0”,
“ericsson”,
“eudoraweb”,
“fly”,
“haier”,
“hiptop”,
“hp\\.ipaq”,
“htc”,
“huawei”,
“i\\-mobile”,
“iemobile”,
“iemobile\/7”,
“iemobile\/9”,
“j\\-phone”,
“kddi”,
“konka”,
“kwc”,
“kyocera\/wx310k”,
“lenovo”,
“lg”,
“lg\/u990”,
“lge\\ vx”,
“midp”,
“midp\\-2\\.0”,
“mmef20”,
“mmp”,
“mobilephone”,
“mot\\-v”,
“motorola”,
“msie\\ 10\\.0”,
“netfront”,
“newgen”,
“newt”,
“nintendo\\ ds”,
“nintendo\\ wii”,
“nitro”,
“nokia”,
“novarra”,
“o2”,
“openweb”,
“opera\\ mobi”,
“opera\\.mobi”,
“p160u”,
“palm”,
“panasonic”,
“pantech”,
“pdxgw”,
“pg”,
“philips”,
“phone”,
“playbook”,
“playstation\\ portable”,
“portalmmm”,
“\\bppc\\b”,
“proxinet”,
“psp”,
“qtek”,
“sagem”,
“samsung”,
“sanyo”,
“sch”,
“sch\\-i800”,
“sec”,
“sendo”,
“sgh”,
“sharp”,
“sharp\\-tq\\-gx10”,
“small”,
“smartphone”,
“softbank”,
“sonyericsson”,
“sph”,
“symbian”,
“symbian\\ os”,
“symbianos”,
“toshiba”,
“treo”,
“ts21i\\-10”,
“up\\.browser”,
“up\\.link”,
“uts”,
“vertu”,
“vodafone”,
“wap”,
“willcome”,
“windows\\ ce”,
“windows\\.ce”,
“winwap”,
“xda”,
“xoom”,
“zte”
]
}
},
“referrer.configuration_overloaded”: false,
“referrer.enabled”: false,
“referrer.rgroups”: {
“search_engines”: {
“theme”: “”,
“enabled”: false,
“redirect”: “”,
“referrers”: [
“google\\.com”,
“yahoo\\.com”,
“bing\\.com”,
“ask\\.com”,
“msn\\.com”
]
}
},
“common.support”: “”,
“common.track_usage”: “0”,
“common.tweeted”: false,
“config.check”: “1”,
“config.path”: “”,
“widget.latest.items”: 3,
“widget.latest_news.items”: 5,
“widget.pagespeed.enabled”: “1”,
“widget.pagespeed.key”: “”,
“widget.pagespeed.key.restrict.referrer”: “”,
“widget.pagespeed.show_in_admin_bar”: “0”,
“timelimit.email_send”: 180,
“timelimit.varnish_purge”: 300,
“timelimit.cache_flush”: 600,
“timelimit.cache_gc”: 600,
“timelimit.cdn_upload”: 600,
“timelimit.cdn_delete”: 300,
“timelimit.cdn_purge”: 300,
“timelimit.cdn_import”: 600,
“timelimit.cdn_test”: 300,
“timelimit.cdn_container_create”: 300,
“timelimit.domain_rename”: 120,
“timelimit.minify_recommendations”: 600,
“common.instance_id”: 1705706598,
“common.force_master”: true,
“extensions.active”: {
“newrelic”: “w3-total-cache\/Extension_NewRelic_Plugin.php”,
“fragmentcache”: “w3-total-cache\/Extension_FragmentCache_Plugin.php”,
“swarmify”: “w3-total-cache\/Extension_Swarmify_Plugin.php”
},
“extensions.active_frontend”: [],
“plugin.license_key”: “”,
“plugin.type”: “”,
“fragmentcache”: {
“engine”: “”
},
“pgcache.bad_behavior_path”: “”,
“newrelic”: {
“monitoring_type”: “apm”
}
}I will try to replicate the issue and get back to you as soon as possible.
Do you use a plugin to add the login button to a menu or something like that? Or is it the theme that does it?
No, either I used plugin for that nor theme does it for me.
Instead, I add it programatically by my own with conditions.
If user not logged in then shows the html for that (login and join now button)
and if user logged in then shows the dashboard menu and logout button.Hello, any progress here ?
Hello, Please reply what can I do to make it work properly. ?
Thanks
waiting here your reply ???
Please reply here, as my site is live and I am losing many of my users due to this.
Please try to change the predefined .htaccess file in my hosting server.
Changed the caching of text/html to minimum(0 or 1) and its start working.ExpiresByType text/html A1
or
ExpiresByType text/html A0I tried to reproduce this issue multiple ways but without success. I recommend you send a support request at Performance => Support so we can debug your system to help out.
How to send the support request at performance ? Please share with me the link for the same.
Thanks
As I said, go to Performance => Support in your WP Admin and submit a support request there.
- This reply was modified 6 years, 5 months ago by gidomanders.
- The topic ‘Logged in user caching issue’ is closed to new replies.