Project

General

Profile

Feature #607

Use Last-Modified header for static resources

Added by Ryan Parrish over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
velocity
Target version:
-
Start date:
12/12/2012
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

As it is right now, there are no caching related headers sent to the client for static resources that are defined in the config.json. The effect of this is that browsers must request all the defined static files for a page with each page load, and never caching them locally. It would be useful if velocity could return a Last-Modified header set to the file's local modified timestamp so browsers could do conditional gets (If-Modified-Since) to save on file transfer/load times.

History

#1

Updated by Patrick Talbot over 12 years ago

That's a very good idea indeed. I'll look into adding that for the next version.
Thanks!

#2

Updated by Patrick Talbot over 12 years ago

  • % Done changed from 0 to 100

Will be part of the next version

#3

Updated by Patrick Talbot over 12 years ago

  • Status changed from New to In Progress
#4

Updated by Patrick Talbot over 12 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF