Welcome! Log In Create A New Profile

Advanced

Best way to cache static files

October 14, 2010 12:15PM
What is the preferred way to cache static files these days? (i.e. ccs/js)

1. Recompile with slowfs module
2. Serve css/js through php backend and use fastcgi_cache
3. Create additional nginx localhost server and proxy_cache from nginx backend

Drupal6 has a nasty habit of recreating its aggregated css and js files (i.e. css_[md5hash].css) on module updates, etc. Which means cached dynamic pages end up pointing to non-existent files. An nginx cache could protect against that problem, but I'm not sure of the best way to do it.
Subject Author Posted

Best way to cache static files

brianmercer October 14, 2010 12:15PM

Re: Best way to cache static files

valor October 14, 2010 12:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
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