Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Cache handling question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cache handling question

 Post Reply Post Reply
Author
Message
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Topic: Cache handling question
    Posted: 11 May 2009 at 5:57am
In my app, I'm using an own SQL DataProvider.
I implemented DoRetrieveDayEvents and it works fine - so far.

Problem is, that my calendar uses a remote SQL database and every day event generates a new query, which is a lot of traffic.

It seems the the cache fetches ALL dates in the range of +-10 years which leads to over 6000 queries for one update!
But this can only be observed in Office2007 theme with MultiScheduleView.

I tried to disable the calendar cache in the data provider, but without success.
What is the correct way here?


using 13.0.0 / VS8

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.