Added option to skip loading or storing cache trough the events

With these changes you are able to skip loading or storing the data in cache. This is useful if you dont want to cache when a user is logged in for example.

I know I should add unit tests but I really have no time to make them.