Okay
  Public Ticket #2512990
caching issue
Closed

Comments

  • Rochelle test Victor started the conversation

    Hi,

    I have successfully created a form using Serialized PHP array.  I am having a lot of caching issues however.  

    1) If I make a change to the PHP file and reload, it doesn't take the changes.  I have to rename the original PHP file and then reload.

    2) If a change is made to the data on the database, the table doesn't reflect this unless I make a new php file and reload.

    I am using WPEngine which may be part of the caching issue.  
    Is there a cookie that I can tell WPEngine to exclude?

    Is this a shortcoming of making a table with this method?

    Thanks in advance,

    Rochelle

  •  2,572
    Aleksandar replied

    Hello Rochelle

    As soon as you add new data to the source file, and refresh the page where you see your wpDataTable, it should be visible.

    Caching may be the issue, but it shouldn't be happening. These tables are linked to the source file, so they shouldn't be saved in the database (can you explain what table you're looking at in the database?), only in wp_wpdatatables_columns and wp_wpdatatables, where you can see the structure and settings of the table, and the source URL which is used.

    So, every time you refresh the table, the plugin is pulling the data from the source file. What happens if you temporarily deactivate WP Engine? Does it work then?

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables