• Resolved AndreiD

    (@andreiro37)


    I have a page template and i update in database the number of views at each visit.

    How can i cache the page, but still increment the database post views at each visit?

    The page views is an example, i will update other info with the php code.

    thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Emre Vona

    (@emrevona)

    This is not possible because db and php does not work when the page is saved as a static html file. You should do it via Ajax.

Viewing 1 replies (of 1 total)
  • The topic ‘Cache on page with php update script’ is closed to new replies.