On 02/28/2011 04:53 PM, Brent wrote:
> So: I need those pages/files to be flushed from the
> cache the moment they change, while everything else is cached more
You can do this with Expires header.
> I haven't found a good solution for this with WordPress plug-ins such as
> SuperCache -- they seem to be too "all-or-nothing", flushing too much or
> too little.
SuperCache will create static files from your dynamic pages or "posts"
and everything else is configured by Expires.
I'm not nginx guru, but I've this setup:
- - Varnish as cache
- - nginx as webserver with spawn-fcgi
* "static files generated by SuperCache": posts.html with 10 minuts of
* static files: images, js and everything else with 'max'
Hope this helps.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----