Commit Graph

20 Commits

Author SHA1 Message Date
dtookey
97a50a6a34 implemented some template route stuff 2022-08-03 12:42:42 -04:00
dtookey
8f29442ff4 tenative draft of template routes 2022-08-03 11:08:25 -04:00
dtookey
03a454bf51 fixed jpg mimetype fallthrough 2022-08-02 10:58:10 -04:00
dtookey
dc8cf44870 Added webp to mimetypes 2022-07-27 13:56:41 -04:00
dtookey
355021634f rudimentary template -> static file stuff 2022-07-27 13:11:24 -04:00
dtookey
c3df1f3a85 added some Content-type header insertion in uncompressedfileroutes.
Changed how Get GetFresh work in the webLRU. Entries can now force loading from disk with LruEntry.Reload().
2022-07-27 12:17:41 -04:00
dtookey
3b9ecb168f tweaked server.go to have a more informative servlet.Start() experience 2022-07-21 10:04:21 -04:00
dtookey
14cbf49e9a cleaned up the api for adding routes (it does it automatically when you create the route).
Added a function to the server to announce registered routes.
2022-07-21 09:53:49 -04:00
dtookey
a72b54a114 setting default cache time super low to test cache expirations 2022-07-21 09:19:36 -04:00
dtookey
41800f1a13 Cleaned up some printf debugging. 2022-07-21 09:11:37 -04:00
dtookey
b15a05676c With no testing, and no evidence that we did anything correctly, it appears the has cleaned up the api a little tiny bit 2022-07-21 09:04:37 -04:00
dtookey
9ebc43e072 massive refactor. StaticRoute.go is still a mess. needs a big overhaul still. 2022-07-20 15:16:05 -04:00
dtookey
0e6bc71322 added idea stuff to gitignore 2022-07-19 15:38:54 -04:00
dtookey
a5f494730d implemented a global cache-disabler for use during dev 2022-07-19 15:38:31 -04:00
dtookey
26fbb2908c okay, everything seems to work. somewhat. 2022-07-18 17:00:22 -04:00
dtookey
1fdb507dbb cleaned things up and moved all the files into the vinegar package 2022-07-18 14:03:27 -04:00
dtookey
af5e5a2aae name tweak for packaging 2022-07-18 12:22:30 -04:00
dtookey
bcfb369ff4 changed package names 2022-07-18 12:21:07 -04:00
dtookey
72959bacbf first vendor 2022-07-18 12:19:55 -04:00
dtookey
35c87e82d4 Initial commit of library 2022-07-18 12:17:03 -04:00