Sha256: bdfc7ee006f3563da4ee2574d8c6755c6769f91f6d52946f23af7d913ab854a2

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

module PageMeta
  class MetaTag
    class DnsPrefetchControl < MetaTag
      def render
        helpers.tag(:meta, "http-equiv" => "x-dns-prefetch-control", content: "on") +
        helpers.tag(:link, rel: "dns-prefetch", href: content)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
page_meta-0.1.1 lib/page_meta/meta_tag/dns_prefetch_control.rb
page_meta-0.1.0 lib/page_meta/meta_tag/dns_prefetch_control.rb