Yeah that’s definitely a caching issue. The code you have there should handle it but you can’t really guarantee anything.
Do you have a caching plugin installed? If so try disabling that.
Also in your wp-config.php file see if you have this define('WP_CACHE', true); if so change it to false. If it isn’t there add it but make that false.
That’s really all, in my experience, you can do from our end unfortunately.
Related Posts:
- Nginx FastCGI_Cache Vs PHP Caching
- How to clear WordPress Cache from Server/FTP/Remote location
- PHP Code stuck in Cache [Memcached] [closed]
- WordPress with php 5.5 and zend opcache
- How to enable Zend Optimiser+ with Batcache
- Dynamic Stylesheet loads but doesn’t finish
- How to combine wordpress_logged_in cookies in one cookie?
- Passing UTM Parameters To Modify Page In WordPress
- WordPress & Fastcgi proper setup?
- Dynamic content in template
- Running code before object-cache.php runs
- Is the wp_enqueue method efficient?
- customize wordpress database error page
- WordPress transient not working with WP Engine
- Make a page (url) not cacheable [closed]
- How do I disable cache for a certain page?
- Language does not switch while cache is enabled
- Should I use wp_cache in my plugin to make it faster?
- Refresh page after login with litespeed cache
- Use WP Cron to Clear a Page Cache?
- How save data on user’s client cache
- Force ‘permanent’ post cache of shortcode results
- Fatal Error cannot log into wordpress and website disappeared
- Are WordPress widgets cached?
- RegExp to EXCLUDE strip HTML (FOR SOMME) comments
- Splash pages on a high traffic site
- How can I improve and optimise my wordpress web server for better performance in 2023
- Redirect to non-WordPress version of home page for search results via index.php customization overwritten
- Can’t programmatically log user in php
- Removing Default Gutenberg Blocks, But Keeping Reusable Block Functionality?
- How to get the list of WooCommerce product image of a certain category from database?
- How to override an unpluggable parent theme function?
- Display a text message if the shortcode is not found?
- Can i check if user is doing any ajax request?
- List authors with posts in a category
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Generating a random number on every post and saving it in database
- Dynamically add styles to WP TinyMCE editor
- How to make a variable available for the duration of the page request
- Include a specific post to the query_posts and remove it if it is already in the returned list
- Fatal error: Call to undefined method WP_Error::get_item_quantity()
- How to convert objects into arrays
- Removing unneccessary p-tags (Not every p)
- Integrate WordPress in Yii
- wp_kses and magic quotes
- display month in french in wordpress/php?
- Randomly Assign an Image’s Alt Text Based on Data From Post
- Edit incorrect password message WordPress
- XAMPP-VM Mac OS Mojave wordpress debugging using XDebug
- How to get original custom taxonomy slug after the slug has been rewritten?
- WordPress Persistent connection rule does not work for “posts”
- how to make my website secured
- Building a WordPress App
- PHP in CSS file?
- Warning: printf(): Too few arguments in helpers.php file
- Woocommerce Product_cat for current category page
- Get featured image with custom size outside WordPress
- How to use the checked() function to check for a non-empty var
- How to add post thumbnail dynamically using Jquery?
- WordPress redirects to old login after migration
- How to do something when user profile rendereing?
- Get the featured image url of clicked post
- How to get comment_ID by post_ID in wordpress
- WordPress low speed after migrating to new host
- Show all people who commented on all posts by an author
- My top header looks different on single pages but is fine on the home page
- Using php code inside style tag
- How to pass values from one function to the other using an array variable
- Custom global variable not working in function
- How to change the content width using php?
- get_the_author_meta( ‘ID’ ) just return 1
- Add widget area from visual editor
- Register/enqueue scripts only on certain admin pages
- Site title not showing. Please help me
- Email always ends up in spam
- How to link featured images in single.php for only non-logged-in users?
- WordPress Redirect / Add_Rewrite_Rule – Non Index.php Page
- Target a specific container to style on WordPress storefront theme
- Search the post using get_search_form()
- Need to Echo A Url path to show on a wordpress page
- Adding custom PHP to existing loop in Genesis
- index.php navigation
- How can I move the posted-on date above the post and below the entry-header?
- ‘posts_per_page’ in costum page type
- WordPress upload images not displaying
- how to exclude admin page from add_rewrite_rule in wordpress
- How to use ‘depth’?
- Pagination on Custom Loop
- MySQL Engine vs. Charset
- Query Concatenation
- Link a lightbox thumbnail to a post instead of opening the lightbox
- Adding a css class to the gallery
- Filtering according to the locale ‘de_DE’
- Advanced Custom Fields – How do I get field values of a group within a group field type
- Upgraded php & wordpress but theme broke
- Split titles by the ” – ” in WordPress
- Hide ID for WordPress User Role Subscriber
- WordPress per ACF – permalink is not working
- Processing data and redirecting with query string
- get_var not returning a value when the field contains an apostrophe