This sounds like page caching. Page caching is a good thing, it keeps your site fast. The downside is that any personalized data is not accurate, which is why the clock is not updated.
It looks like perhaps WPEngine doesn’t give you control over page caching – https://wpengine.com/blog/no-caching-plugins/
You may need to speak to them about a workaround for this. However, in my experience, it might be a hard sell.
Can I ask why this needs to be done in PHP? It seems to me that the performance tradeoff is not worth the gain.
Related Posts:
- Make a page (url) not cacheable [closed]
- How to add a .php file to WordPress
- How to check if image is already stored in a site’s post database? (network)
- Changing user_nicename
- WordPress will not operate correctly
- How to Join two tables from separate databases within WordPress
- Exclude pages with certain template from wp_list_pages
- Import 10,000 Users into WordPress WITH a specific ID for each user
- Loading page template into shortcode
- if statement on database query
- Unusable menus and “Illegal widget setting ID: nav_menu_item[]” error
- Switching between custom templates in a post type of the admin menu
- page template for attachement page?
- How to generate page content from database the right way?
- How to create and work with custom data / tables (i.e., for arbitrary data)?
- Changing the template hierarchy
- Proper way to edit a post via phpMyAdmin without breaking the compare revisions tool
- phpMyAdmin displays error when importing database
- SQL QUERY – Select a value directly from the database
- How to get the POST TITLE using the POST ID?
- Why is the post meta[] empty when I make a call to the wordpress rest api?
- WordPress Scheduled Event Request Blocking
- Trying to establish connection to External Database
- Showing content from one page on another
- How to insert a single row to WP database table?
- how could I load a different template part by page
- How to enable Zend Optimiser+ with Batcache
- Page Automatically Generated from Theme?
- How to hide all child pages with post_query?
- Can I install/embed WordPress on a ‘single page’?
- $wpdb->update with multiple parameters gives error
- wp search-replace on database returns PHP fatal error: Array and string offset access syntax with curly braces is no longer supported
- How does WordPress know wich language is chosen when there is a database connection error
- Is it possible to create a wordpress database with php code?
- Store a default value for a transient on plugin activation
- WordPress & Fastcgi proper setup?
- Split reads to a different connection string
- custom user role wordpress – grant guest access to edit.php without insert/update/delete
- How to get the value of input hidden html from text editor to custom page template?
- Automatic Shortcode Creation with Custom Fields [closed]
- Not connecting to database in file with multiple MySQL connections
- Show meta box only for default page template
- WordPress template page name displayed on screen
- Display custom field on 404 page outside loop
- WordPress Block developer from exporting Database via PHP
- Execute a function every hour in the background
- How do I display offsite database info on my wordpress site?
- Building a REST API for your web app exposes primary keys of DB records?
- Short code template + ajax
- Most commented posts by time period (last 12h, last 24h and etc)
- wpdb Cannot Update column in Database
- get_page_template_slug returns incorrect path
- Set default Database Storage Engine when creating tables with plugins?
- WPDB – Read and write value from / to database
- How do I make this Metabox show current DB value?
- How to Generate a list of Most Commented post?
- Why when I create a new post I found 2 record related to this post into the posts database table?
- Unserialize Custom Field & Save as Multiple Rows in WordPress Database
- What’s wrong in my PHP code? I’m using WordPress Astra Theme and I can’t insert data into my SQL
- Tracking Visitor LatLng with WordPress using JS, PHP. How to put data which was extract using JS into DB
- $_POST returning empty values
- How to send custom form submissions to WordPress Database?
- Submiting with problems on one of the options php wprdpress
- WordPress add custom search
- wp_update_post gives 500 internal error
- Confuse between forms and tables
- How do I disable cache for a certain page?
- code that I can run, or a plug in to show what sql tables something pulls information from
- Adding column to wpex_users
- Using wpdb to connect to a different database is not working
- How to Change Site Elements based on referring URL
- custom search query database in child theme
- Insert data from form to database
- How to query a staging database?
- Get meta_query value by user meta array
- Force ‘permanent’ post cache of shortcode results
- Pass form attributes to another php template in wordpress
- I changed the password for the database user of my website, updated wp-config.php and wordpress asks to be reinstalled
- I want to use wordpress database in android app using json encode?
- Are WordPress widgets cached?
- Can form entries from a WordPress form go to a database
- Weird Behaviour: Not all WordPress Posts appearing
- Can not manually create a database ( db, user, pass ) for a plugin
- two wordpress sites, two themes, one database, same content
- Insert double entry in DB
- Manipulate database of WordPress site with my own scripts
- Check if values exists DB
- MySQL database migration to WordPress
- Host does not allow remote connection, so how do I transfer data to my WordPress site?
- MySQL Engine vs. Charset
- Custom query_posts() parameter
- How to check if a value exists in one of two database tables
- How to pass username into form that sends data to database
- How to edit the default database of WordPress [closed]
- Loop on a wordpress Page instead of content coming from the WP text editor
- notify users when changed database
- Display total count of products in orders of a specific order status
- save array of objects with update_option
- redirect user from login page if is logged
- Can’t insert into a database wordpress