Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como limpar o cache no WordPress (passo a passo)

Um de nossos leitores nos perguntou recentemente como limpar o cache no WordPress. Essa é a primeira etapa que geralmente recomendamos ao solucionar problemas no site.

O armazenamento em cache desempenha um papel importante no aprimoramento do desempenho do site, mas às vezes pode impedir que os visitantes vejam as alterações imediatas após as atualizações. Isso acontece porque o navegador da Web, o servidor de hospedagem e os plug-ins de cache podem fornecer versões antigas e em cache das páginas.

Neste artigo, mostraremos a você como limpar corretamente o cache no WordPress. Abordaremos a limpeza do cache do navegador, o cache da hospedagem na Web e os principais plug-ins de cache do WordPress.

How to clear your cache in WordPress (4 ways)

O que é o cache no WordPress?

As soluções de cache armazenarão versões estáticas do seu site em um cache. Isso permite que o WordPress não execute scripts PHP mais pesados sempre que o site for carregado.

O processo de armazenamento em cache ajuda a melhorar a velocidade e o desempenho do WordPress e a experiência geral do usuário.

Veja um exemplo de como é o processo de armazenamento em cache:

How caching works in WordPress

Há vários tipos diferentes de soluções de cache disponíveis para o WordPress. O método mais popular é usar um plugin de cache do WordPress, como o WP Rocket ou o plugin WP Super Cache.

Esses plug-ins permitem controlar quais arquivos e mídias são armazenados em cache quando o cache expira, quando o cache é limpo e muito mais.

Dependendo do seu provedor de hospedagem, talvez você já tenha o cache do WordPress incorporado. Por exemplo, empresas de hospedagem gerenciada do WordPress, como a SiteGround, executam suas próprias soluções de cache.

Hospedagens populares do WordPress, como a Bluehost, também têm cache integrado para seus usuários.

Se você estiver usando um firewall de aplicativo da Web, como o Sucuri ou o Cloudflare, para aumentar a segurança do WordPress, também há um cache para acelerar o site e reduzir o tempo de inatividade.

Por fim, a maioria dos navegadores da Web modernos também armazena versões em cache das páginas em seu navegador.

Por que limpar o cache do seu site WordPress?

Às vezes, o cache não percebe que foram feitas alterações em seu site do WordPress. Em vez de carregar a nova versão do seu site, você ficará preso a uma versão antiga.

Isso impedirá que você e seus visitantes vejam as atualizações que você fez.

Limpar o cache do WordPress garante que a versão mais recente do seu site esteja sempre ativa.

Dito isso, vamos dar uma olhada em como limpar o cache no WordPress. Basta usar os links rápidos abaixo para ir direto ao método que você deseja usar:

Tutorial em vídeo

Subscribe to WPBeginner

Se você preferir instruções por escrito, continue lendo.

Método 1: Limpar o cache do navegador da Web

Primeiro, você precisa limpar o cache do navegador da Web. A maioria dos navegadores armazena conteúdo estático do site, como folhas de estilo, JavaScript, imagens e outros arquivos do site para melhorar o tempo de carregamento.

Mas, às vezes, os navegadores da Web podem não perceber que uma página da Web foi alterada. Em vez de buscar uma nova cópia, eles carregam a página a partir da versão em cache armazenada em seu navegador.

Para limpar o cache do navegador no Google Chrome, clique no ícone do menu e selecione Mais ferramentas ” Limpar dados de navegação.

Clear browser cache

Isso abrirá uma janela pop-up na qual você poderá selecionar o conteúdo que deseja remover do cache.

Verifique se a caixa “Imagens e arquivos armazenados em cache” está marcada e, em seguida, clique no botão “Limpar dados de navegação”.

Clear cached images and files

Agora, você limpou o cache do navegador com êxito. Você pode visitar seu blog do WordPress para ver se ele está carregando a nova versão do seu site.

Para obter mais detalhes, consulte nosso guia sobre como limpar o cache do navegador em todos os principais navegadores.

Se ainda não estiver vendo as alterações feitas em seu site, passe para os outros métodos deste artigo.

Método 2: Limpar o cache em seu plug-in de cache do WordPress

Se estiver usando um plugin de cache do WordPress em seu site, será necessário limpar o cache do plugin.

Veja como limpar seu cache com alguns dos plug-ins de cache mais populares do WordPress.

Limpar cache no WP Rocket

O WP Rocket é o melhor plug-in de cache do WordPress no mercado. A melhor parte de usar o WP Rocket é que ele cria proativamente o cache do WordPress em segundo plano, de modo que os usuários sempre recebem uma versão em cache do seu site.

Também facilita muito a limpeza de arquivos em cache com um único clique.

Basta acessar as Configurações ” WP Rocket e clicar no botão “Limpar cache” no painel do plug-in.

Clear WP Rocket cache

Agora, o WP Rocket limpará todos os seus arquivos em cache para você.

Limpar cache no WP Super Cache

O WP Super Cache é outro plugin de cache popular do WordPress. Ele permite que você limpe ou remova todo o conteúdo armazenado em cache com um único clique.

Basta acessar Settings ” WP Super Cache no painel do WordPress e clicar no botão “Delete Cache” na seção “Delete Cached Pages”.

Clear WP Super Cache

Agora, o WP Super Cache excluirá todos os arquivos em cache do seu site.

Limpar o cache no W3 Total Cache

O W3 Total Cache é um plugin de cache do WordPress muito usado. Como os outros plug-ins acima, você pode limpar todos os caches com um único clique.

Você precisa ir para Performance ” Dashboard e clicar no botão “empty all caches” (esvaziar todos os caches).

Clear W3 Total Cache

O plug-in W3 Total Cache agora excluirá todo o conteúdo em cache do seu site.

Método 3: Limpar o cache em sua hospedagem WordPress

Alguns provedores de hospedagem WordPress têm opções de cache incorporadas para ajudar a acelerar o WordPress.

Veja como você pode limpar o cache do seu host da Web em alguns dos hosts mais populares do WordPress.

Limpar cache na Bluehost

A Bluehost é um dos melhores provedores de hospedagem para WordPress e é oficialmente recomendada pelo WordPress. Eles têm uma solução de cache integrada que melhora instantaneamente o desempenho e a velocidade de carregamento do WordPress.

A Bluehost facilita a limpeza do cache do WordPress em sua área de administração do WordPress.

Basta fazer login no painel de administração do WordPress e você verá um botão “Caching” na barra de ferramentas superior do administrador. Passe o mouse sobre ele e clique na opção “Purge All”.

Clear Bluehost cache

A Bluehost agora limpará os dados do cache do WordPress.

Limpar cache no SiteGround

O SiteGround é um dos principais provedores de hospedagem WordPress, conhecido pela velocidade e pelo excelente suporte ao cliente. Eles oferecem uma solução de cache integrada para melhorar o desempenho de seu site.

Você pode limpar o cache do SiteGround no painel de controle da sua conta de hospedagem e na área de administração do WordPress.

Para limpar o cache do painel de controle do Siteground, é necessário fazer login no painel da conta de hospedagem e acessar Velocidade ” Cache na seção de ferramentas do site.

Em seguida, selecione a opção de menu “Dynamic Cache”. Em seguida, clique no ícone de menu ao lado do seu nome de domínio e selecione a opção “Flush Cache” no menu suspenso.

Clear SiteGround hosting cache

Outra maneira de gerenciar o cache do Siteground é com o plug-in SG Optimizer. A primeira coisa que você precisa fazer é instalar e ativar o plug-in. Para obter mais detalhes, consulte nosso guia sobre como instalar um plug-in do WordPress.

Após a ativação, você precisa clicar no botão “Purge SG Cache” na barra de ferramentas superior de administração do WordPress.

Purge SG cache

O plug-in limpará automaticamente o cache do SiteGround WordPress.

Método 4: Limpar o cache do plug-in do firewall do WordPress

Se você estiver usando um firewall do WordPress, como o Sucuri, para proteger o seu site, então há outra camada de cache que você precisará limpar.

Você pode limpar o cache da Sucuri acessando Sucuri ” Firewall (WAF) no painel de administração do WordPress.

Em seguida, selecione a opção de menu “Clear Cache” (Limpar cache) e clique no botão “Clear Cache” (Limpar cache).

Clear Sucuri cache

Dica bônus: se você mudou recentemente o seu site WordPress, talvez seja necessário limpar o cache do DNS. Isso garante que você esteja recebendo informações de DNS atualizadas e acessando a versão mais recente do seu site. Para obter mais detalhes, consulte nosso guia sobre como limpar o cache do DNS.

Guias especializados sobre o cache do WordPress

Agora que você sabe como limpar o cache, talvez queira ver outros guias relacionados ao cache do WordPress e aos plug-ins de cache:

Esperamos que este artigo tenha ajudado você a aprender como limpar o cache no WordPress. Talvez você também queira ver nosso guia sobre como criar um boletim informativo por e-mail e nossas escolhas de especialistas sobre o melhor software de bate-papo ao vivo para pequenas empresas.

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

84 ComentáriosDeixe uma resposta

  1. Jiří Vaněk

    Perhaps I would also add for people using CDNs like CloudFlare, that caching is also enabled there, and additional ‘hidden’ caches might exist on the CDN side. Either a plugin connected to the CDN can clear it, or it needs to be done manually. For instance, in CloudFlare’s dashboard, cache can be cleared in the designated section.

    • WPBeginner Support

      That is a very good point to remember for those using CDNs :)

      Administrador

  2. Sue

    This was great content and very helpful – clear and concise, so even I could understand it. I’m completely new to this game with no former experience in website building at all. I don’t know what I would have done without you. Thanks again!

    • WPBeginner Support

      You’re welcome! Glad our content was able to assist :)

      Administrador

  3. Favour

    Thanks for this great content. It’s very helpful

    • WPBeginner Support

      Glad you found it helpful!

      Administrador

  4. Silas Imoh

    The joy in me now is beyond imagination. Before now, When i make changes on my theme in my site, it doesn’t apply…i never knew it was a caching problem. After doing as instructed, My customizations are now live. Thanks alot WP Beginner. Your are the best

    • WPBeginner Support

      Glad our guide was able to help! :)

      Administrador

  5. Jordi

    Thanks for this article. Is the Sitemap also removed or changed in any way, when the cache is purged?

  6. Anjoe San Diego

    Was frustrated of the header ads on my blog. Thank you for this. It was resolved :)

    • WPBeginner Support

      Glad our guide could help :)

      Administrador

  7. Ellen

    I keep getting a notice from the MonsterInsights plugin in my Site Health that says:
    We noticed you’re using a caching plugin or caching from your hosting provider. Be sure to clear the cache to ensure the tracking appears on all pages and posts.

    I wasn’t using a caching plugin as far as I knew

    • WPBeginner Support

      You may want to reach out to your hosting provider to ensure there isn’t something on their end for caching that could be part of the issue.

      Administrador

  8. Sara

    My host support is telling me the following when I asked them to help me clear my sites cache:

    “There is no server-side caching on any of our servers, so this message may be caused by one of your installed WordPress plugins that enables some kind of caching.”

    My question is therefore how I can locate what plugin that needs clearing. Do you know?

    • WPBeginner Support

      You would want to go under Plugins > Installed Plugins and see if any of your plugins say in their description that they are a caching plugin.

      Administrador

  9. Gopal

    Hi thanks for the article. I have followed every step mentioned but when i designing home page there in no background overly set by me but when browse that page it showing background image but not when i editing page

    • WPBeginner Support

      You would want to check with the support for your specific theme if clearing the cache is not updating your changes to ensure it is not an issue with the theme itself.

      Administrador

  10. Farukh Hussain

    Hi,

    I have a question please. Do I need to always clear all the cache manually using w3 total cache or any other plugin.. Isn’t it possible to make it automatically clear all cache daily.

    • WPBeginner Support

      The caches should clear over time based on the caching you are using, this guide is how to force it to clear in case there are any issues or something that needs to be displayed that isn’t showing.

      Administrador

  11. Vishal soni

    I have bluehost in-built cache and now I purge all cache from Wordpress and how to upload new cache memory again? also, do I need another paid cache service like wp rocket? What would be better

    • WPBeginner Support

      If you need another cache would be a question of personal preference. Your site will generate a new cache so you don’t need to worry about uploading a new cache.

      Administrador

  12. nadir

    does that fix style.css problem
    when you make changes to the file the web site dont change at all

    • WPBeginner Support

      If your CSS changes are not appearing then this would be the first step for having those changes appear :)

      Administrador

  13. syed sibtain

    sir if i reset my caches or empty my catches my site data will be lost or not??

    • WPBeginner Support

      Your posts and other content will not be lost if you clear your cache :)

      Administrador

  14. Ravi Teja

    Some of my website users are facing problem with their browser cache. I am suggesting them to delete the cache, but I can’t do it for everyone.

    Is there anything I can do to stop browser caching for some pages on my website?

    • WPBeginner Support

      You would need to check with the support for the caching you are using for what is available.

      Administrador

  15. Alvin Alolor

    If i clear my cache on my wordpress would it clear cache on other mobile users?

    • WPBeginner Support

      It should clear the cache for your users as well other than their browser cache.

      Administrador

  16. Rashed Ali

    Can I clear cache from my hosting Cpanel?

    Thanks for your help!

    • WPBeginner Support

      It would depend on what caching you’re talking about, if it is caching from your host then you would need to reach out to your hosting provider and they should be able to show you what options are available.

      Administrador

  17. Mensah Tenasu

    Dear admin please can i do something to get back the caches after is been deleted in case i need it

    • WPBeginner Support

      Sadly not, clearing your cache would remove what is in your cache.

      Administrador

  18. David

    Thankss for this awsm info..

    • WPBeginner Support

      You’re welcome :)

      Administrador

  19. ron quiring

    So if you have caching available (and are using) on WPEngine or Securi firewall, then is your article saying that we should NOT implement a caching plugin on wordpress?

    • WPBeginner Support

      No, you can still use caching on your site with those plugins, this article is to show how you clear the cache if you are having an issue that would require you to clear your cache.

      Administrador

  20. kamaraj

    If I clear my Wordpress cache, is there any chance for getting lost of existing data.

    • WPBeginner Support

      You shouldn’t lose any of your saved content when clearing the cache on your WordPress site.

      Administrador

  21. william

    I am having this problem

    The site is experiencing technical difficulties.

    Only for my homepage please assist me

  22. Nomaan

    I have same on my website. i had been tried all of your step but till not getting any kind result. help me

    • WPBeginner Support

      If none of these methods cleared your cache, you would want to reach out to your hosting provider to see if they have any caching that is affecting your site on their end.

      Administrador

  23. mark dannau

    Hello to all,

    Great article. I have a closely related question.

    When I edit a page of my website in WP, it strangely shows the code of the cdn’s pull zones, not the original code. How do I get back to the original code?

    Thanks for the help, Mark

    • WPBeginner Support

      For that, you would want to check with your CDN to ensure it is properly configured as a likely cause of the problem

      Administrador

  24. jamila

    Hi , i want to ask if i do clear cache with one of these plugins there any content or design disappear, plz help i want to clear cache and i’m afraid to lost the design and content

    • WPBeginner Support

      Unless you were editing the design and you are clearing your cache to see that update, your design should not be modified.

      Administrador

  25. Shein

    Hi everyone, it really is a good article….but a question came to my mind. If we face caching problems while building our websites, then how about for visitors to our sites. This may be an insane question, but i am afraid that some of our visitors may not see our updates. Thanks a lot and looking forward an answer from some.

    • WPBeginner Support

      Following the site and server steps should help allow your users to see your changes.

      Administrador

  26. Jaroslav Havlicek

    Hello, I do everything to clear cache from wordpress, chrome and deleted everything on ftp server. I did a new instalation of wordpress on the same web site, but on the web is the old look of the web. So please, how can i delete old web ?

    • WPBeginner Support

      You would want to reach out to your hosting provider to ensure nothing on their end would be causing the issue.

      Administrador

  27. Tom

    Hi, I noticed that the Soliloquy slider images are only loading on mobile screens or if I make my browser window way smaller on my desktop screen. I have pretty large images loaded in the slider (1500×1500 px). Is there something I’m missing?

    • WPBeginner Support

      You would want to reach out to Soliloquy and let them know to be able to assist you.

      Administrador

  28. Stavros

    Hello i have the newspaper theme on word press. My posted views sudently are zero and do not give me the real numbers of visitors. i have over 35.000 uniqs! How can i fix it please?

  29. Verotiana

    Thanks for this article. But what if I’m not using any of these WP plugins, yet my page still won’t update…?

  30. Christian Okonkwo

    ? Can deleting of cash removed my admin login…
    Am always afraid that Cashing can delete a database or anything within my host file.
    But i need to do it to see some changes.

    ?I want also know if “database establishing errors” can be cause by cleaning cash.

    • WPBeginner Support

      Hi Christian,

      No cache files are temporary files which means they can be deleted without affecting your website’s functionality.

      Administrador

  31. Ann

    Great Article! I have a question. After updating plugins do I have to clear out all my caches again? Thanks!

    • WPBeginner Support

      Hi Ann,

      It is not necessary as most caching plugins are setup to automatically purge cache at regular intervals. However, you can also go ahead and manually clear cache if you find something missing.

      Administrador

  32. Nick

    Thank you for the helpful post! Clearing my browser cache fixed issues for me, but Is it correct to say that any repeat visitors to my site could run into issues from not clearing their own browser cache? I would like to universally clear cache so that it’s dummy proof and doesn’t require my users to go in and fix it themselves. Is that possible in any way?

  33. Yusuf Bitrus

    Thanks for this awesome suggestions and listings, I think super cache one the best cache plugin I have ever used.

    And it is working like a .

    I love it

  34. Neal Umphred

    Thanks for your useful article! What does the CLEAR CACHE button on the Publish menu in the WordPress admin section do?

  35. Alex

    It amazes me that most important question has been ignored. How to clear cache saved in other peoples’ browsers? I.E. people who visit you wordpress website and maybe have no idea how to clear icache or that they need to do it. Thousands of plugins but not one which would add some version parameter to all website urls therefore forcing browsers to request them as new files.

    • Sachin Singhi

      I have also been looking for a way to do the same. Have realised that if we do not enable the cache at all it will work but impact the performance of the website.

  36. Rohan

    Hi, how do I clear cache if I don’t have a cache plugin – taken over a community group site and presumably previous webmaster used then deleted a cache plugin without clearing the cache first?!

  37. Esther Roche

    Hi!
    I use Fastest Cache and I was wondering what is the difference between

    CLEAR CACHE OF THIS PAGE
    DELETE CACHE
    DELETE CACHE AND MINIFIED CCS/JS

    Can you tell me please?
    Thanks in advance and thanks for this post!
    Esther

    • WPBeginner Support

      Hi Esther,

      Clear cache of this page, removes the cached files for the page you are currently viewing. Delete cache, deletes cached files and the last deletes everything including minified CSS/JS.

      Administrador

      • Esther Roche

        So,

        when I make changes in a specific page and someone else can’t see them, I should just use “clear the cache” of that page; but if I make changes to a couple of pages or more, I should either clear cache of each separately or use “delete cache”, which would let them see the changes in the whole site. Is this right?

        Thanks again for your patience!

        • WPBeginner Support

          Hi Esther,

          Most caching plugins will automatically clear the cache for a page when you make changes those pages. You will only need to use those features if you are working on your website’s theme or adding some new plugin and those changes are not showing up on your website.

  38. Cherisa

    When I try to install WP Super Cache, I get the message that says “Plugin not allowed on our system due to performance, security, or compatibility concerns. Contact support with any questions”. But at the bottom there’s a check to tell me that it is “compatible with your version of wordpress”. This is the same with W3 Total Cache. What is wrong?

    • WPBeginner Support

      Hi Cherisa,

      Some WordPress hosting companies block caching plugins because they have their own caching installed on their servers. Please contact your hosting provider to confirm.

      Administrador

  39. Andy

    Similar problem here. Nothing happens when you click on my menu on mobile devices.

    Any help is appreciated.

    Thank you!

  40. kandra

    Damn just what I need.

    I feel so stupid that I had people from my web host just to clear this mess.

    Anyway,

    how you set this website gone from comment form. this is awesome. I want to have things like this in my blog pencaricerah.com.

    Do you have the tutorial? Are you using the default comment form 7?

  41. Melch Wanga

    Not using a plugin but my CSS changes are not showing in Chrome until the cache is cleared. How do I ensure that my website visitors get the new styling without asking them to clear their browser’s cache.
    NB: Its only on Chrome.

    Thanks.

    • Group Of Oceninfo

      Looking for the same answer, Whenever making change in CSS it’s not showing till hard refresh and it’s not suggestible to ask visitor to do hard refresh. So, How we can serve new css changes to the visitors? How to clear all the cookies/browser cache file.

      As of now I am using W3 Total Cache plugin, Even after clicking on Performance > Dashboard > Empty All Caches it’s not showing new changes until hard refresh. Can you please suggest some good method for wordpress? I am not using any version css version number as well as GT Matrix suggesting to remove query string I have removed using function.php

      Waiting for some positive feedback.

  42. Masoud

    thank you for this. but
    i am not using a cache plugin,
    and i only enabled wordpress built in cache ,
    i placed this code into my wp-config.php

    /* WordPress Cache */
    define( ‘WP_CACHE’, true );
    define(‘ENABLE_CACHE’, true);
    define(‘CACHE_EXPIRATION_TIME’, 360000);

    would you mind pleaseee tell , how to flush this cache please ?

  43. Jamie

    I do not have a plugin installed, but I am having trouble. If I install one now, after the fact, will that help?

  44. Rohan chowdhury

    Dear Admin I want you to post some tutorial regarding advertisement on website for beginners who have less tariffs in their site.

    By the way I love your work.

  45. RUSHEEK

    This is very useful and nice articles.

  46. Towfiq

    It would be great if you could show how to clear the cookie of another 2 popular browsers: Firefox & Safari.

  47. Gaurav Khurana

    Thanks but how frequently which should clear caches . Also would be better if you can mention sequence of caches to be clear. So we can take note of it point by point

  48. Jeremy

    Good read. Didn’t know about the Sucuri caching. Also, recommending adding a tip for the browser cache. CTRL + SHIFT + R usually works just as well by forcing a refresh that bypasses cache and keeps you having to dump your browser cache, every time.

  49. Dan Kapellen

    This is a valuable article. I learned much about the role of cache, how to optimize its use and maintenance measures. Thank you.

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.