[eluser]tinawina[/eluser]
I have a clog up in my app (attached). It's a weird situation because if I clear my cache in Firefox and then pull up our homepage (which assembles a list of all articles availabe to browse) everything works great -- peppy page load. Then I'll do a keyword search, or I'll browse by just one variable, and after three or four of these types of searches everything clogs up again and takes forever to load the page.
We have articles on our site that can be included in a search or browse list only if they meet about 4 criteria. So what we do is get the universe of articles that *potentially* meet the criteria and then run those articles through some if/else statements to determine which articles absolutely should be returned in a result list.
Right now we only have 30 articles that we are testing with. And like I say, the page load time is fast after a browser cache dump but then is super slow - sometimes many minutes - after just a few times pulling up the result page.
I thought I'd made headway with this problem when I added a couple of meta-tags to our page (in the standard head portion of the doc, and added a head portion to the area between </body> and </html> (found that tip on the net) like so:
Code:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
But I'm back to the same behavior after playing with this for maybe twenty minutes.
Any ideas about why this would work fine at first, and then degrade into glacial pace page returns? My controller is attached (unfortunately as a PDF file because I kept getting a file-type not allowed using other types). Appreciate any advice!