what benefit is it to clearing the Drupal cache now that I have Varnish in front of Drupal?


Whenever Varnish Cache expires it asks Drupal to give it the rendered page. Drupal in turn sees if it can server the page from the Cache. If yes it will server from the cache, else it will regenerate the page.

In short, when you clear the Drupal Cache,

  1. No changes are visible to end users for whom the content is served from Varnish.
  2. When the Varnish Cache expires, it will fetch the content form Drupal. Now that you had cleared the Drupal cache, instead of serving from the cache the page will be rebuilt.
Tags: Caching / Proxies

Similar questions

Benefit of running custom query over views
I have a content type and some nodes. I am displaying latest 10 nodes from these content type through views block display. Is there any benefit if i add a custom SQL query to display latest 10 items. I will use the same SQL query that i got from view.
Benefit of loading JavaScript in template.php rather than the theme info file?
The title says it all really. Whats the benefit of loading JavaScript files in the template.php file over the theme info file? For the sake of simplicity lets assume there is no condition to them being loaded. As a themer my instinct is to want to load things with the info file, but this isnt the standard practice on my current project.
Benefit of processing multiple entities at once?
I am about to port renderkit to Drupal 8. The D7 version contains an interface EntityDisplayInterface, which builds render arrays from entities. In the D7 version, this contains one method buildEntities($entity_type, $entities); which allows to process multiple entities at once. The idea here was that this could speed up performance. For D8, I wond...
Benefit of config entities over regular config entries?
In Drupal 8 it is possible to store configuration in "config entities". However, the same can also be achieved with non-entity config entries. E.g. one example for a config entity schema, from core.entity.schema.yml: The same information could be stored in entries with type: mapping, like so: In fact, we would not even have to store the 'targetEnti...
Drupal migration - now only front page works
I just migrated a Drupal site from a ISP to a dedicated Linux CentOS server. MySQL Database is configured and generates front page without error. Problem is that only the home page works. All other pages show "404 Page Not Found Error". So mysite.com/ works but mySite.com/node/1 does not work. I checked some obvious places: LoadModule rewrite_modul...
Drupal 7: "Maintenance mode" message when the site is NOT in maintenance (Yes, I´ve cleared cache, 4 times now)
I get the "Operating in maintenance mode. Go online." message and the D7 site is not in maintenance mode. The message doesn´t appears all the time, and sometimes it goes away when I refresh the page. I´ve cleared cache. I´ve tested and it is most certainly NOT in maintenance mode. I´ve checked Drupal Error reports, and I get this one (I don´t know ...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.