caching - How to set http header in magento -


with reference post

i need set http header. how in magento? can set http header? there procedure in mangento this?

you need more clear on want header ?

if want on every page, can write observer , listen event predispatch , set http headers on there..

alternatively can try implement using htaccess.. try inserting ur htaccess file ..

header set cache-control "no-cache, no-store, must-revalidate" header set pragma "no-cache" header set expires "0" 

to check, can load page of site, , check headers using network tab..


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -