HTWK-App / Server-Application

Server-Application, designed for use with the HTWK Smartphone-App
GNU General Public License v3.0
1 stars 1 forks source link

provide cache controll for several responses #50

Open hknochi opened 9 years ago

hknochi commented 9 years ago

Add Cache-Control headers to all listed functionalities:

(...., HttpServletResponse response)
response.setHeader("Cache-Control","no-store, no-cache, must-revalidate");

Cache-Controll: public, max-age: TIME_IN_SECONDS
hknochi commented 8 years ago

skipped until spring boot 1.3.0 release