How many records are you displaying n one page? Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: alexp <[email protected]> Date: Tue, 29 Sep 2009 19:15:46 To: ActiveScaffold : Ruby on Rails plugin<[email protected]> Subject: Re: removing authorized_for from list view to boost peformance by 8% but keeping security oh forget to add in _list_record.html.erb <%= record.authorized_for?(:action => :read, :column => column.name) ? render_list_column(column_value, column, record) : '' %> was also changed as well, depending on the number of columns, some of my views have 20 columns, it makes a saving of a around 10-20% time reduction per list view page load time, i,e, replaced it with the onmousover do the authorization as above, I may replace it with a standard ahref so links still appear - but I don think its a worry for what I am doing in total my list view page load times are now reduced by a whopping 20-30% average to what they were before!!! I still have to hunt down the next saving.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
