Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^no-cache,\\s{0,1}no-store,\\s{0,1}must-revalidate$
/

Description

Check if HTTP Header of Cache-Control has all nessery values for highest security

Submitted by Nils Werner - 9 years ago