Is there a module that updates a view automatically when it is changed, without refreshing the view page?

For example, when a new node is added to the view or deleted from the view, or a node is edited, the view is automatically updated without refreshing the page.

What is the best way to do this?

3 Answers 3


The Views Hacks module (poorly named in my opinion) has an auto-refresh submodule that should accomplish this for you. You may want to also look at using the Views content cache module so that you can still enable caching on your view.


I've been trying to find the answer to this for some time and I don't think I can improve on the previous answer.... but I think it is not really correct.

The way I would approach it is to put more of the Views formatting functionality in some JQuery Javascript so that the Javascript fetched the data for the View from the Drupal server via JSON and not HTML.

Then periodically - rather than using Views Hacks autofresh - it would say "give me all the records for this view which are newer than this datetime"

Unfortunately this would require hand coding for now as I have not seen this in any contributed module.


You can use this module https://www.drupal.org/project/views_refresh or just use the code below in your JS to refresh the view.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.