Current time: 12-17-2017, 02:55 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any suggestions to improve my caching ?
05-09-2014, 12:30 AM
Post: #1
Any suggestions to improve my caching ?
Hello,

After a long time I decided to work on one of my old websites ...

here is my results :
http://www.webpagetest.org/result/140508_SV_M61/

Unfortunately it seems that I should work more on my caching...

I would appreciate any help regarding this issue.

Please note that I really don't want to use browser caching since I have no control over it afterwards .

Thank you again
Find all posts by this user
Quote this message in a reply
05-09-2014, 02:06 AM
Post: #2
RE: Any suggestions to improve my caching ?
(05-09-2014 12:30 AM)a.chakery Wrote:  Please note that I really don't want to use browser caching since I have no control over it afterwards .
In that case, you're never going to get any better of a grade than F for leverage browser caching of static assets.
Find all posts by this user
Quote this message in a reply
05-09-2014, 08:45 AM
Post: #3
RE: Any suggestions to improve my caching ?
Given that you've taken the approach that everything is to be delivered in a single file, with no inclusions, then no, you don't want to cache anything if it's got dynamic content.

The site is delivered compressed and visually complete in 0.4s, so really needs no further work done on it!
Find all posts by this user
Quote this message in a reply
05-09-2014, 08:51 AM
Post: #4
RE: Any suggestions to improve my caching ?
Thank you GreenGecko and Anton for your replies...

Really appreciate it.
Find all posts by this user
Quote this message in a reply
05-14-2014, 11:58 PM
Post: #5
RE: Any suggestions to improve my caching ?
Actually, you should use no-cache for your cache-control and pragma instead of private. Private just prevents proxies from caching it but browsers will still use heuristics and cache the file for a while. If it really is dynamic then no-cache will get it to behave the way you want and WPT will also not detect it as a "static" resource and you'll get an A (or N/A)
Visit this user's website Find all posts by this user
Quote this message in a reply
05-15-2014, 04:14 AM
Post: #6
RE: Any suggestions to improve my caching ?
Thank you pmeenan ,
Now generally what do you suggest ? I mean do I leave my website as it is now or do the 1 week browser caching ?
Find all posts by this user
Quote this message in a reply
05-15-2014, 04:53 AM
Post: #7
RE: Any suggestions to improve my caching ?
Up to you. If you want to allow for a 1-week cache then it would be worthwhile to let cloudflare, maxcdn or some other CDN edge-cache it for you which could make it available globally in < 100ms or so but that's kind of a micro-optimization at this point.
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: 1 Guest(s)