{"id":185,"date":"2013-08-23T18:04:00","date_gmt":"2013-08-23T18:04:00","guid":{"rendered":"http:\/\/189@jodohost.com\/\/blog\/"},"modified":"2013-08-23T18:04:00","modified_gmt":"2013-08-23T18:04:00","slug":"clearing-the-cache-on-the-linux-server","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/08\/23\/clearing-the-cache-on-the-linux-server\/","title":{"rendered":"Clearing the Cache on the Linux server"},"content":{"rendered":"<p>We&#8217;ve seen many times that the server takes records from its cache which aren&#8217;t the same as the real records or the globally updated records. In that scenario, we have to clear the cache on the server to get the new\/updated records on the server.<\/p>\n<p>NSCD (Name Service Cache Daemon) is a daemon that provides a cache for the most common name service requests.<\/p>\n<p>To clear the cache, we need to restart the NSCD service as below :-<\/p>\n<p>\/etc\/init.d\/nscd restart<\/p>\n<p>That&#8217;s it. This will flush the records from the cache and will enable the server to look out for the new records on getting a query.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve seen many times that the server takes records from its cache which aren&#8217;t the same as the real records or the globally updated records. In that scenario, we have to clear the cache on the server to get the new\/updated records on the server. NSCD (Name Service Cache Daemon) is a daemon that provides [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/185"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}