now compressed and only logs hits to database