Back to Frontend

Purge Cache

admin/app/views/cache/pageDecache.scala.html

latest981 B
Original Source

@(message: String = "")(implicit request: RequestHeader, context: model.ApplicationContext) @admin_main("Purge Cache", isAuthed = true) {

Purge Cache

Warnings:

  • This tool performs a soft purge of the cached content on www.theguardian.com. This will immediately attempt to refresh the cached content.
  • If the backend service that provides the content is not healthy, stale content will continue to be served.
  • If you are trying to resolve an issue and have not already done so, please use the Troubleshoot Tool

Usage:

  1. Paste the url of the page (content) you want to clear below, including the entire url. Only works on www.theguardian.com.
    E.g. https://www.theguardian.com/artanddesign/2015/nov/17/12-designs-that-revolutionised-cycling-fold-up-helmets-and-sandwich-bikes
  2. Click Purge to clear the page from the cache.

Purge @if(!message.isEmpty) {

@message

} }