lib/lacquer/cache_utils.rb
def send_cache_control_headers
      if Lacquer.configuration.enable_cache && @cache_ttl && @cache_ttl != 0
        expires_in(@cache_ttl, :public => true)
      end
    end
# Sends cache control headers with page.
# These are the headers that varnish responds to
# to set cache properly.
Sends cache control headers with page.
These are the headers that varnish responds to
to set cache properly.
Sends cache control headers with page . These are the headers that varnish responds to to set cache properly .
def send_cache_control_headers
      if Lacquer.configuration.enable_cache && @cache_ttl && @cache_ttl != 0
        expires_in(@cache_ttl, :public => true)
      end
    end
def send_cache_control_headers if Lacquer . configuration . enable_cache && @cache_ttl && @cache_ttl != 0 expires_in ( @cache_ttl , :public => true ) end end
Sends cache control headers with page.
Sends cache control headers with page .