wp-admin area is cached
When I go to Add new post (or page) I see the normal Add post screen, and when I save draft or publish the page, everything works fine. If I immediately try to add another new page I see the same add new screen ,however instead of adding a new post, it updates the previous post instead, basically erasing all the old content and title and overwriting it with the second post’s content.
I suspect that this is because my browser is somehow caching the pages, and is not re-validating properly. I captured the http headers using livehttpheaders for firefox and here is some of the header for the http://www.mysite.com/wp-admin/post.php request.
‘Cache-Control: max-age=1800, stale-if-error=3600
I am running Apache on this server, and have an external CDN caching all of the static images, css etc. Is there a simple Apache directive that will force the /wp-admin/ to use
‘Cache-Control: no-cache, must-revalidate, max-age=0
- The topic ‘wp-admin area is cached’ is closed to new replies.