I am trying to build a custom caching solution for my website with FastCGI caching.
I'm trying to cache only certain URL's that get a boat load of traffic. I know from my logs exactly which URL's that are, but they are always changing.
Is there a way I can specify certain URL's that Nginx has to cache, but not cache everything else.
I've followed this tutorial, and I got caching to work. But I cannot work out how to cache custom URLs. Say url.com/b.php?q=123 for example.
Ideally I would store a list of URL's in a .conf file, which Nginx loads, and it only uses cache for those URL's, but doesn't cache all other files. Is this possible with Nginx?