module Qeweney::StaticFileCaching
def file_stat_to_etag(stat)
def file_stat_to_etag(stat) "#{stat.mtime.to_i.to_s(36)}#{stat.size.to_s(36)}" end
def file_stat_to_last_modified(stat)
def file_stat_to_last_modified(stat) stat.mtime.httpdate end
def file_stat_to_etag(stat) "#{stat.mtime.to_i.to_s(36)}#{stat.size.to_s(36)}" end
def file_stat_to_last_modified(stat) stat.mtime.httpdate end