Life Diary

Wake up early! Pitted by memcache again

7:01:52 I got up at 6:00 this morning, which is pretty early for me.

A friend has a wordpress site: pregnancy taste network is a few years ago I helped to build, recently Sina microblogging bed all hanged, his website is a lot of pictures are quoted from the bed, I helped him before in the database inside the batch replacement of the.

UPDATE wp_posts SET post_content = replace( post_content, ‘src=”’, ‘referrerPolicy=”no-referrer” src=”’ ) ;

The pictures referenced in the content page can be displayed normally, but the pictures of the home page are not displayed, yesterday afternoon I looked around in the database to see if there are other places where some references to the home page are stored, but the results were not found.

Downloaded all the templates, read through them and did not directly quote the picture of the microblogging, read through them all and did not find, so I had to give up.

I got up so early this morning, turned on the computer, and went to the database to find some other fields of wordpress have no information about the image bed, or not found, suddenly remembered that it should be a problem of memcache, download wp-config.php down to take a look, sure enough! : $memcached_servers = array(’86d1***********alicm**pub**’);

Hurry up to empty the memcached cache, refresh the home page of pregnancy taste, done! In fact, this is not the first time to be memcache pit, many times the page refresh wireless are because forget its existence.

Tagged , ,

Leave a Reply

Your email address will not be published. Required fields are marked *