fragment cache

1.hold the current frament in a variable while new a note , when "cancel" clicked,replace it back.

2.load the new note form when load the page , place it in a hidden div .when new a note ,straightforward get the form from the hidden div ,not fetch from the server.

3.when new or edit a note ,hide the left two columns ,show them after save.

 

 

你可能感兴趣的:(cache)