[cosmo-dev] Cache Rules Everything Around Me
Matthew Eernisse
mde at osafoundation.org
Mon Dec 3 18:37:12 PST 2007
Yes, there is a bug filed for this, number 11511:
https://bugzilla.osafoundation.org/show_bug.cgi?id=11511
Specifically, only the data in the cal view is being kept around, so the
problem only happens going from list view to cal view (you should see
your changes going from cal to list).
I introduced this bug implementing overlay -- the current cal-view code
doesn't go back to the server unless the overlay/selected state has
changed to add something not currently loaded (i.e., no data needed when
you uncheck a checkbox).
Your proposal of reloading all selected/overlaid collections from
scratch when toggling to cal-view seems like a good solution.
Matthew
Bobby Rullo wrote:
> It seems that we are keeping data around when switching between Calendar
> and List view - when you switch from List view to Calendar view, there
> is no new request made to the server.
>
> It is better to refresh the data every time from the server because:
>
> a) We don't want to maintain the logic of keeping it sync
> b) We will miss changes that are made by other clients
> c) It is not an optimization, since HTTP is doing caching anyway
>
> I propose we get rid of this behavior and go the simple route of
> refreshing from the server when switching from List <--> Calendar view.
>
> Bobby
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
>
More information about the cosmo-dev
mailing list