Hey guys,
i want to write a php script to purge the cache on my server.
I used the following instruction:
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscache:purge
I have written the script with valid informations vor ip and url.
The IP is whitelisted in server config.
The .htacces is ready.
But sometimes the scripts throws an 400 - Bad request.
Sometimes everything seems to be fine, but the cache is not purged.
I'm using an Symfony 2 application.
Can anyone tell me what if I have to do, to purge everything under
	
	
	
		
* should be a wildcard
								i want to write a php script to purge the cache on my server.
I used the following instruction:
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscache:purge
I have written the script with valid informations vor ip and url.
The IP is whitelisted in server config.
The .htacces is ready.
But sometimes the scripts throws an 400 - Bad request.
Sometimes everything seems to be fine, but the cache is not purged.
I'm using an Symfony 2 application.
Can anyone tell me what if I have to do, to purge everything under
		Code:
	
	www.example.com/api/*
	
								
									Last edited by a moderator: