Export to GitHub

fullcalendar - issue #355

Allow json feed caching


Posted on Feb 20, 2010 by Swift Cat

If I see it correctly, fullcalendar intentionally never caches json data from event sources. This is not always wanted though - I actually want to cache event results in case they haven't changed and the server side indicates so (by last-modified header / etag).

Thus, it'd be useful if caching could actually be turned on by setting cacheParam to false or something alike.

Comment #1

Posted on Feb 27, 2010 by Helpful Monkey

i agree, should be able to let fullcalendar cache

Comment #2

Posted on Mar 15, 2010 by Massive Cat

Would it be possible to cache by individual month even during the same session?

If a user click NEXT PREV a couple of times, I'd like the browser to remember the data is fresh.

Comment #3

Posted on May 12, 2010 by Massive Kangaroo

I personally have an already cached html file that I do not want to reload. The html is generated from the database and it's cleared every-time an event is added to the list. So in my case I only query the DB once.

Something like this would work for me:

disableCache=FULL - the json url is not modified at all disableCache=TRUE - only appends the range disableCache=FALSE - appends the range and the cacheParam

Thank you for this amazing plugin!

Comment #4

Posted on Nov 23, 2010 by Massive Panda

Deploying FC onto a Caldav server, it'd be really usefull if the monthly queries could be cached, too. The data doesn't change so often. I'm planning to control the caching per session so that I can sync for example every 10 minutes.

With up to 1000 users per server I expect that the load will be to high if it's refetching on every month change.

So one more star from me on this! :)

Comment #5

Posted on Mar 21, 2011 by Helpful Monkey

ok, this is no possible in 1.5 (just released) but by a different means... http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/#caching

Comment #6

Posted on Jan 13, 2012 by Massive Lion

Can we get the json results cached by a different means? The browser cache is unreliable.

Comment #7

Posted on Jan 13, 2012 by Massive Lion

... Just how events are cached between month and week views... I would like all months previously loaded to be cached. Browser cache is hit or miss.

Comment #8

Posted on Aug 14, 2013 by Helpful Monkey

(No comment was entered for this change.)

Comment #9

Posted on Aug 14, 2013 by Helpful Monkey

(No comment was entered for this change.)

Status: Released

Labels:
Type-Enhancement