Code

Opened 2 years ago

Closed 2 years ago

#17203 closed New feature (invalid)

cache topic should mention bypass

Reported by: kevchrsmi@… Owned by: nobody
Component: Documentation Version:
Severity: Normal Keywords: cache nocache
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

I've recently implemented caching on a project. But, I really needed to be able to bypass the cache on an ad-hoc basis. Just on a lark I tried appending "?nocache" to the URL and it worked. This tidbit should be mentioned in the cache topic. Thanks.

K.C.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Appending ?nocache doesn't bypass the cache at all. All you've done is request a different resource -- one that wasn't cached. If you re-request the ?nocache URL, you should find that the result is again cached.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.