Prevent caching of inline script
-
Hello,
How do i prevent the caching of a inline script added usingwp_add_inline_script()
?
I am using a plugin witch adds a security nonce as an inline script value and the nonce is cached with the whole page, the nonce is available for 12 hours and the cache for 1 month resulting in a failed nonce verification. I want that #dlm-xhr-js-before script is not cached.The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Prevent caching of inline script’ is closed to new replies.