WordPress has no native page source output caching. In vanilla installation changes to templates should show up immediately.
If that doesn’t happen there are several possible reasons:
- there is static page cache plugin installed, which serves stale version (the specific implementation of cache would depend on a plugin);
- there is a caching layer between the site and internet, such as reverse proxy provided by hosting;
- site has HTTP headers configured in a way that causes browser (or possibly proxy server in route) to cache overly aggressively;
- PHP has opcode cache installed (which is good/normal) and is configured to cache it aggressively/longer (uncommon), which might cause it to ignore PHP source changes in file for a while.
Related Posts:
- PHP Code stuck in Cache [Memcached] [closed]
- How to enable Zend Optimiser+ with Batcache
- What are PHP extensions and libraries WP needs and/or uses?
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- Nginx FastCGI_Cache Vs PHP Caching
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Can I view my own wordpress php source code on my hosted web server?
- How do I test PHP files in WordPress?
- WordPress Site front End and Back End Loading Slowly
- Evaluations of two wordpress security plans against php code injection attack
- WordPress with php 5.5 and zend opcache
- WordPress Site Running Extremely Slow on Dedicated Server
- Dynamic Stylesheet loads but doesn’t finish
- Can you run WordPress on a MarketLive/Java EE server?
- How to combine wordpress_logged_in cookies in one cookie?
- Passing UTM Parameters To Modify Page In WordPress
- Incorrect MIME type for assets with Valet
- WordPress & Fastcgi proper setup?
- Dynamic content in template
- Running code before object-cache.php runs
- wp-comments-post.php file returns a blank page
- Configure Php server with ISAP
- WP & Server Speed [Teacher Question]
- Is the wp_enqueue method efficient?
- 3 different times on my WordPress website
- customize wordpress database error page
- WordPress hit memory limit but not from the server
- WordPress transient not working with WP Engine
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- How can I find the cause of a 500 server error?
- HTTP ERROR 500 after installing child-theme [WordPress] [closed]
- WordPress mod_rewrite not working on php fpm
- Problems clearing cache
- Make a page (url) not cacheable [closed]
- How to prevent a function from running based on host (ie web vs local)?
- Client cant see the Updated dynamic content
- Reject all malicious URL requests functions.php
- How can I update WordPress plugins or WordPress itself in all server?
- current_time function incorrect in plugin and PHP, not in WordPress admin
- How do I disable cache for a certain page?
- (solved) WordPress Site not loading properly
- Language does not switch while cache is enabled
- Should I use wp_cache in my plugin to make it faster?
- wp_signon works local, not on https
- Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress
- Refresh page after login with litespeed cache
- Use WP Cron to Clear a Page Cache?
- Unexpected behavior when trying to manually install WordPress on macOS Sierra
- How save data on user’s client cache
- Creating Log-In Page for backend server
- Force ‘permanent’ post cache of shortcode results
- Fatal Error cannot log into wordpress and website disappeared
- Using Custom Javascript and pHp to send email to myself when a user clicks on an input button but only works on Chrome, IE, and Micorosft Edge
- Are WordPress widgets cached?
- Ajax call URL 404’ing when pushed to staging server
- RegExp to EXCLUDE strip HTML (FOR SOMME) comments
- Published custom posts missing
- Splash pages on a high traffic site
- WordPress Memory limit not increasing
- changed front-page template gives 500 error
- PHP 7.3 is required for WordPress 5.2 or Recommendation
- what to do after instlling cyberpanel on VPS
- How can I improve and optimise my wordpress web server for better performance in 2023
- How to create a build for quickly deploying a server with WP?
- Redirect to non-WordPress version of home page for search results via index.php customization overwritten
- Enabling pretty permalinks with Docker, Multisite WordPress and Caddy
- Can’t programmatically log user in php
- Set media upload attachment link to none and hide it in WP v3.5
- Why does this echo values in the wrong order?
- How to add default images into theme customizer image control?
- WordPress if (is_page) translation on certain page
- Uploading video to google drive via frontend [closed]
- Setting All Drafts to ‘exclude-from-catalog’ in WooCommerce
- How to properly insert a link to a template in WordPress?
- Difference between ‘type’ => ‘text’ and WP_Customize_Control
- Locating Global Variables
- get post based on category chosen in drop down – The ajax method
- Set the background to a default image if there isn’t a specified “featured image”
- WordPress Access allowed to fewer pages till user logs in
- How to pass aa JS variable to PHP?
- Custom Theme’s “Preview Changes” Doesn’t Work for Previously Published Posts
- post thumbnail, conditions, else wont work
- entire JS folder not loading in a WP theme
- Split shortcodes to array of shortcodes
- Dynamic menu with custom post types
- error_log PHP error log found. This file must not be in the production version of the theme. (wordpress theme check plugin)
- how can i include post meta in search result
- Does the namespace always have to be prefixed to the function or class when referencing callbacks in WordPress, even when they are in the same file?
- Why is the current page loaded in the pop-up window and not the specified one?
- WP_Query next image
- How to get content on a blank basket/cart page in a custom theme with woocommerce
- Submit remote form to wordpress REST API and save data to custom post type
- Where do I implement this display of User Meta Data, and how to put it in a table?
- Redirect user role to a specific page on login in a multisite network?
- A javascript function that simply runs a php function on the plugin
- Post from front end form to post_meta
- Echo the featured image of page assigned to blog in index.php
- best way to communicate between php and jquery/javascript
- Can’t remove menu items added by plugin
- Link to external page has wordpress blog-url inside