Commit Graph

4 Commits

Author SHA1 Message Date
Gerasimos Maropoulos
ff41c672ce misspell fixes
Former-commit-id: 7efa2d8641d8fc324231989cbfcc0905f1d90009
2018-03-21 08:59:37 +02:00
Gerasimos Maropoulos
8e9deec4ab Add one more browser (and 304 server) cache method using ETag and If-None-Match headers
And replace the 'ctx.WriteWithExpiration' with simple 'ctx.Write' at 'StaticEmbeddedHandler' of core/router/fs.go, now that we have plenty of options for client cache give the end-dev the oportunity to use them or not on static embedded handlers


Former-commit-id: 9c9e2f3de3c5ad8c9e14e453b67e6b649b02bde8
2018-03-18 11:55:05 +02:00
speedwheel
46453ff522 fix import path order, guidelines of iris
Former-commit-id: 4c938dd13691b8f753a7d1b00a6fa2da56ad4e99
2018-03-17 06:19:49 +02:00
speedwheel
50164f082c new handlers for client (i.e browser) catching: cache.NoCache and cache.StaticCache including tests
Former-commit-id: 18975297c8b96c7f9d5ff757f92051f6b10933c1
2018-03-17 06:15:13 +02:00