diff --git a/config/development/HTTPCache.toml b/config/development/HTTPCache.toml new file mode 100644 index 0000000..4d5e693 --- /dev/null +++ b/config/development/HTTPCache.toml @@ -0,0 +1,11 @@ + +[cache] + [cache.for] + includes = ['https://api.github.com/repos/**'] + # excludes = ['**'] +[[polls]] + disable = true + high = '0s' + low = '0s' + [polls.for] + includes = ['**'] \ No newline at end of file diff --git a/config/development/params.toml b/config/development/params.toml index 4c514e1..0e143c0 100644 --- a/config/development/params.toml +++ b/config/development/params.toml @@ -24,4 +24,4 @@ # Content adapters config for component projects # https://github.com/hugo-fixit/component-projects [projectsAdapters] - enable = false \ No newline at end of file + # enable = false \ No newline at end of file diff --git a/go.mod b/go.mod index 8706497..4c6f4a1 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,9 @@ go 1.20 require ( github.com/Lruihao/hugo-shortcode-mmt-netease v1.0.7 // indirect - github.com/hugo-fixit/FixIt v0.3.13-0.20241006035741-19ceeb2e999c // indirect + github.com/hugo-fixit/FixIt v0.3.13-0.20241010025701-f738e4a92699 // indirect github.com/hugo-fixit/cmpt-mdevtools v1.0.1 // indirect - github.com/hugo-fixit/component-projects v1.3.1 // indirect + github.com/hugo-fixit/component-projects v1.3.2 // indirect github.com/hugo-fixit/hugo-json-feed v1.0.2 // indirect github.com/hugo-fixit/shortcode-caniuse v1.1.3 // indirect github.com/hugo-fixit/shortcode-docs-bookmark v1.0.3 // indirect diff --git a/go.sum b/go.sum index 77a48a8..19c9d51 100644 --- a/go.sum +++ b/go.sum @@ -1,11 +1,11 @@ github.com/Lruihao/hugo-shortcode-mmt-netease v1.0.7 h1:G0A3HBcU7zu/FZPEVlzexO4GBNs1CAUVNwoRkekUbdU= github.com/Lruihao/hugo-shortcode-mmt-netease v1.0.7/go.mod h1:6vXHaAZv1p9meW2mZ5KmlWlu5W9YiIpUTkHGWwkp3Pk= -github.com/hugo-fixit/FixIt v0.3.13-0.20241006035741-19ceeb2e999c h1:MRiQOuHiqd97ZY6VuNCX9Qyet4m7vC8LxYEuC+HLRbs= -github.com/hugo-fixit/FixIt v0.3.13-0.20241006035741-19ceeb2e999c/go.mod h1:3XIRedrqakO7/a4ZnhE46haMRF8HgsT0N0B5j5D2iRU= +github.com/hugo-fixit/FixIt v0.3.13-0.20241010025701-f738e4a92699 h1:nGvayxHiFDRdF8dJi7ZCyQbVM4yPq+/DKYQllDKDxkI= +github.com/hugo-fixit/FixIt v0.3.13-0.20241010025701-f738e4a92699/go.mod h1:3XIRedrqakO7/a4ZnhE46haMRF8HgsT0N0B5j5D2iRU= github.com/hugo-fixit/cmpt-mdevtools v1.0.1 h1:IdUhqO1ktKsJF5D0ReU37PU2CQCpgjY4EFFQ0S69sKQ= github.com/hugo-fixit/cmpt-mdevtools v1.0.1/go.mod h1:+1tfeT4ugFNa1kx/3yQF0NUup2Fejiq7EwvrpcY2xWw= -github.com/hugo-fixit/component-projects v1.3.1 h1:xJnmnyWHHMGuvYlY5auehobbn5yFdF5zSsnL/lUOuuo= -github.com/hugo-fixit/component-projects v1.3.1/go.mod h1:nXW0R37REwpfwUD1I4RtB5QW71vw66nRyB9uEpYxr+c= +github.com/hugo-fixit/component-projects v1.3.2 h1:okOA8ow0/T7yk8I5oen7OofJAbY6VrngGsFbqPozTWs= +github.com/hugo-fixit/component-projects v1.3.2/go.mod h1:nXW0R37REwpfwUD1I4RtB5QW71vw66nRyB9uEpYxr+c= github.com/hugo-fixit/hugo-json-feed v1.0.2 h1:xZABGHuoX/u0hnoF5AoP7ane7l9T7UNmlOAiFdWvBvA= github.com/hugo-fixit/hugo-json-feed v1.0.2/go.mod h1:ystvqmSnWdkU0aBybKKNztj8P1ViY6AhMaK/bsBL9uw= github.com/hugo-fixit/shortcode-caniuse v1.1.3 h1:U1YBJz5SI/d1BBQhHcD0eVgJdCcpzK2usSizPiu+a4w=