I’m still using super old meteor 1.1.0.2 ( I know it’s super old, but I have deadlines and no time to upgrade). I have this problem where loading some pages takes an odd amount of time. I am not sure why, this is a very simple route. Seems like there’s some other stuff happening, yet on my localhost it works super fast?
@route “privacy”,
path: "/privacy"
action: ->
@render 'privacyLayout’
return
data: ->
start = new Date()
privacy = Privacy.find( {effectiveDate: { $lt: start} }, {sort: createdDate: 1}).fetch()[0]
privacy: privacy