Skip to content
This repository has been archived by the owner on Aug 17, 2018. It is now read-only.

Use Cache Markdown for partial data #37

Closed
speedwheel opened this issue Jul 10, 2017 · 3 comments
Closed

Use Cache Markdown for partial data #37

speedwheel opened this issue Jul 10, 2017 · 3 comments

Comments

@speedwheel
Copy link

speedwheel commented Jul 10, 2017

#I saw that the Cache Markdown it's used for full page caching, is there any way I can use it just to store certain content from the page (key, value interface for example).

@Allendar
Copy link
Contributor

Allendar commented Jul 10, 2017

You can easily write a cache yourself with a atomic-based map structure like https://github.com/orcaman/concurrent-map or https://github.com/coocood/freecache. This way you'll have 100% control on how your block-cache works.

@theodesp
Copy link
Collaborator

Maybe we can w8 for 1.9 with sync.map golang/go#18177 ?

@Allendar
Copy link
Contributor

Closing this as it seems like a custom required feature for speedwheel's project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants