WP Super Cache
Caching textbox value (2 posts)

  1. wuandoe
    Posted 3 years ago #


    Does anyone know how to set an HTML input text field with a php function all the time and not use a cached version of it? I know that the plugin doesn't cache the comment form's input fields, but what if you have a custom one?

    I tried doing something like this, but of course this doesn't work cause the <!-- --> gets in the value.

    <input type="text" id="meh" name="meh" text="<!--dynamic-cached-content--><?php echo date();?><!-- echo date(); --><!--/dynamic-cached-content-->" />

    Does WP Super cache create a separate cache file for each unique user using the input field? I noticed that this was happening during my testing, but then I encounter an error where i was on the page with the input field and i got a value from a different user.

    Thanks :D


  2. wuandoe
    Posted 3 years ago #

    Whoops.. I guess the title should be... Do not cache textbox value

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic