b755b3fead
* robots.txt: "Please, don't come in." If a page is directly linked, the URL can still appear in search results, though. * X-Robots-Tag: "If you're here, forget what you saw." Works even if the crawler ignores robots.txt or reaches a page via external link. Can remove already-indexed pages. * Public boards may not be indexed. They're meant for "anyone with the link" private sharing, not worldwide publishing.
14 lines
377 B
Ruby
14 lines
377 B
Ruby
class ApplicationController < ActionController::Base
|
|
include Authentication
|
|
include Authorization
|
|
include BlockSearchEngineIndexing
|
|
include CurrentRequest, CurrentTimezone, SetPlatform
|
|
include RequestForgeryProtection
|
|
include TurboFlash, ViewTransitions
|
|
include RoutingHeaders
|
|
|
|
etag { "v1" }
|
|
stale_when_importmap_changes
|
|
allow_browser versions: :modern
|
|
end
|