This thing happends mainly due to browser or server cache
If this problem is because of browser cache then we can hardreload the browser (ctrl + f5)
if this is because of server cache then you can replace default htaccess with the htaccess provided in wordpress documentation
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]