Closed mayoz closed 10 years ago
Haven't tested this yet locally. Anyway, from what I understand, if the user clears the browser's cache, the user's view will still increment the snippets count right?
As mentioned in comment, just a simple precaution. Another permanent alternative can be think.
Tested it and it's true.
If you clear your cache and hit F5 the hits increment.
I will test it locally and merge it.
Tested it locally and the fix that @mayoz did worked. It no longer increments views at every refresh of the page.
See #101
Closing
Blocked snippet hits increment with F5 key. I think the snippets (http://goo.gl/E7j3RW) hits is fake. This site does not appear until perhaps :) Cookies be removed or disabled. But let's at least a little precaution.