Current time: 10-23-2019, 04:38 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
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/).
Find all posts by this user
Quote this message in a reply
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)