Cache static content
|
11-06-2014, 12:11 PM
Post: #1
|
|||
|
|||
Cache static content
I'm using w3totalcache and self hosted cdn. Im am not sure how to fix this cache static content thing.
any ideas? thanks in advance. http://www.webpagetest.org/result/141106...ic_content |
|||
11-07-2014, 05:20 AM
Post: #2
|
|||
|
|||
RE: Cache static content
In the .htaccess file (if your host respect those expire headers). According to the WPT test you're also using CF, so you can also set these with a page rule (see http://blog.cloudflare.com/edge-cache-ex...verride/).
|
|||
11-12-2014, 07:25 AM
Post: #3
|
|||
|
|||
RE: Cache static content
Just be careful to not cache content that you don't want to. Images are usually relatively safe but script, css and html usually require some level of file versioning and care to prevent doing bad things. w3totalcache has "browser cache" settings which should help for enabling a bunch of that.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)