• Vijay Hawoldar's avatar
    Conditionally cache Snippet content · 4eecfba1
    Vijay Hawoldar authored
    Not all Snippets contain Markdown content and so
    the `content` field should not always be cached.
    
    This change will attempt to determine if the content
    is Markdown based on the Snippet filename and only cache
    if it is
    4eecfba1
cache_markdown_field_spec.rb 7.95 KB