1
mirror of https://github.com/jlelse/GoBlog synced 2024-05-29 08:34:27 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
9714d65679 Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
a21f48c309 Persistent cache for blogroll and stats 2021-05-10 17:37:34 +02:00
bfee141015 Promote Tor 2021-05-09 14:42:53 +02:00
4653e4480c Cache blog stats for better performance 2021-05-09 09:35:37 +02:00
1ef34889ae Add native blogroll integration 2021-05-08 21:22:48 +02:00
94cc221625 Added regular garbage collection 2021-03-13 13:17:42 +01:00
5aa04ba366 Collect garbage after cache clear and reloading router 2021-03-12 08:57:40 +01:00
3877507890 Use ristretto cache library instead of lru 2021-03-11 19:00:09 +01:00
5e65fd6bd7 Simplify 2021-03-10 22:31:43 +01:00
41083cfb31 Add some Server-Timing informations 2021-03-10 18:47:56 +01:00
4bba5c9a4a Small improvements 2021-03-08 18:14:52 +01:00
6de2ae6ff3 Login form with 200 and no cache header 2021-02-27 09:05:39 +01:00
243d695bf4 Small things 2021-02-24 13:16:33 +01:00
e74afac829 Show admin links when logged in 2021-02-20 23:35:16 +01:00
91788efe67 Go 1.16 2021-02-17 08:23:03 +01:00
424d1e9944 Fix lint errors 2021-02-08 18:51:07 +01:00
abe1f39ea4 Disable cache for static and media files, serve template assets directly from memory 2021-01-10 17:19:08 +01:00
5343826ec9 Fix 2021-01-10 16:11:53 +01:00
8c73686a6f Improve Cache 2021-01-10 15:45:34 +01:00
f1d3fd6ad9 Improve Cache 2021-01-10 14:22:02 +01:00
8fd3fd07cc Rotate logs and cache assets too 2020-11-26 17:40:40 +01:00
0e90cc0112 Etag and Last-Modified headers 2020-11-26 09:44:44 +01:00
58f856f4b1 Rework cache with etag 2020-11-25 14:59:48 +01:00
93cdda07a1 Increase cache size 2020-11-20 16:24:18 +01:00
1688193009 Cache proxy max age 2020-11-20 15:44:29 +01:00
4ec97436ca Improve Cache 2020-11-20 15:33:20 +01:00
5b9ac19cb8 Add some features, improve database handling & performance, robots.txt and more 2020-11-09 16:40:12 +01:00
b9856175b9 Small cache things 2020-10-20 18:15:15 +02:00
77f6a53a7e Add garbage collection to cache and cache redirects 2020-10-19 23:33:08 +02:00
a3c6ba832e Massively improve cache using singleflight and storing cacheitems in memory 2020-10-19 23:02:57 +02:00
a2190306da Add HTTP compression 2020-10-19 21:09:51 +02:00
96259912cb Post-post and post-delete hooks 2020-10-19 20:25:30 +02:00
91b094053f Replace certmagic with autocert and use database to store certs 2020-10-15 17:02:58 +02:00
e57be059da Replace json and make cache faster 2020-10-07 17:35:52 +02:00
17d14ca56e Use in-memory db for cache 2020-10-06 20:44:58 +02:00
95909420ba A lot of progress 2020-10-06 19:07:48 +02:00
d1e0916342 Fix activitystream path manipulation 2020-09-25 19:23:01 +02:00
b50f4f55bb ActivityStreams variant for posts 2020-09-24 17:13:03 +02:00
e1c362ac2f Use mutexes to prevent cache stampede 2020-09-22 16:42:36 +02:00
fb6b4f65ac Fix database lock when trying to write already existing redirect 2020-09-20 22:04:42 +02:00
31591d694c Simplify configuration initialization 2020-08-04 19:42:09 +02:00
c69480a824 Basic auth, delete posts via api, purge cache after post create / delete 2020-08-01 15:16:21 +02:00
c0c4fa04e0 Various code improvements 2020-07-30 21:18:58 +02:00
e8bf6af11b Cache supports conditional requests 2020-07-30 21:08:41 +02:00
65ce24d410 Cache middleware now records the response and writes that to the DB 2020-07-30 16:43:04 +02:00
7becbd6aad Implement basic db-based cache 2020-07-29 22:45:26 +02:00