Welcome! Log In Create A New Profile

Advanced

Please, How to clear cache when the method is POST?

Posted by tanviet12 
Please, How to clear cache when the method is POST?
April 23, 2012 11:49AM
Hi all.

I'm caching for the forum use Vbulletin. I've done successfully cache for guests and do not cache for the logged user. However I am having trouble deleting the caching. Because when members logged reply topic, the response for guests is the old cache and they do not see the new topic. So I want when new members reply (identified by method POST), Nginx will automatically clear the cache and caching for that URI will be updated (i am use ngx_cache_purge).

I tried to implement but still have not found any way. Please suggest me a way that you know.

Thanks a lot!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready