Is there a continuous function $f : ]1, \infty[ \to \Bbb R_{>0}$ such that $f(x) \to 0$ when $x \to +\infty$ but $$\lim_{x \to +\infty} \dfrac 1 x \int_1^x f \;\neq\; 0$$ (either the limit doesn't exist but a better example for me would be when it exists and is $>0$)?
I tried something like $f(t) = \dfrac 1 {\log\big(\log(t)\big)}$ but I'm not sure how to handle the integral. The problem seems to be when $f$ doesn't go to $0$ sufficient quickly.