0

Does having multiple view filters affect the overall performance of the site. for example having a category and search filter on main pages of articles and galleries?

3

In general having more views will effect the performance of your site. However you can check the view query / render etc at the bottom of the view edit pages which should give you insights into what degree they effect performance. You can also cache views but it means there will be a lag on content updates being shown by the view.

In general you will also find more modules you add to drupal will have a performance impact although it could be slight. Even adding views to pages will add js and css and thus the more page weight so it will take longer to download. Also views run will have more db queries and have a performance impact on the database.

Was there something in particular you were looking for?

  • 1
    As for views filters, they'll of course only affect performance if used. – Countzero Mar 28 '12 at 13:30
  • thanks guys.@WestieUK - i have a site with a lot of views filters so was wondering whether to leave them on or remove them. what if i add apache solr? – Jasmine Ahmed Mar 28 '12 at 17:11
  • The amount of views or filters is not always a performance problem & you should weigh up the functionality / performance cost. Why do you think the views in particular are an issue? You should check all yours views performance to see if any stand out as being slow. If so you can play with the filters and caching to bring the query & render times down to acceptable levels. You may even need to apply an index in your db. If you are finding you site is running slow there is a great deal you can do with Drupal in terms of caching, compression or even by using tools like yslow to bench mark. – WestieUK Mar 29 '12 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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