Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...CloudFlare not caching SiteCloudFlare not caching Site
Previous
 
Next
New Post
7/15/2015 5:20 PM
 

Am too using Cloudflare and below are my IIS setings (somewhat illogical yet they seem to work OK for me):

Output Caching:
Prevent All Caching for .axd, .css, .gif, .jpg, .js and .png file both for User Mode Policy and Kernel-Mode Policy.

Edit Feature Settings:
- Enable cache
- Enable kernel cache
- Maximum cached response size (in bytes): 262144

 With these settings I get ff. Response Headers (for default.css):

CF-Cache-Status:     HIT
CF-RAY
2068753265901a87-DUS
Cache-Control
public,
max-age=604800

Connection
keep-alive
Date
Wed, 15 Jul 2015 21:11:05 GMT
Etag
"0805185f892d01:0"
Expires
Wed, 22 Jul 2015 21:11:05 GMT (note here: cache is 7 days here which was set with Cloudflare)
Last-Modified Wed, 20 May 2015 12:28:48 GMT
Server
cloudflare-nginx
Vary
Accept-Encoding

Of course I don't claim the settings couldn't be tweaked or streamlined even more but as mentioned above - they work for me.

All of these assume that the crucial settings are also applied with Cloudflare.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
7/15/2015 5:26 PM
 
I've edited my reply somewhat as the text I copied from Firebug didn't fit in nicely. So have a look at my above post to have a clear picture.

English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
7/16/2015 10:10 AM
 
Tried the settings but still not getting the HIT for the cache. Cloud Flare support said that it was because my site is using cookies and to turn them off. Do you have and itesm set-cookie on your report? The hard part would be trying to find the modules that are using cookies.
 
New Post
7/16/2015 10:10 AM
 
Tried the settings but still not getting the HIT for the cache. Cloud Flare support said that it was because my site is using cookies and to turn them off. Do you have and itesm set-cookie on your report? The hard part would be trying to find the modules that are using cookies.
 
New Post
7/16/2015 11:20 AM
 

Cloudflare support either don't know what they're saying or .... whatever.

If you examine this very page we're exchanging info in a web-browser dev tools console - I use Firebug in Firefox - then you'll see in the network tab that DNN Corp. also uses Cloudflare - perhaps on a business plan - and they have 20 cookies here.

My site uses 30 cookies and I have no problems with them on the Cloudflare's free plan.

DNN installs widely use cookies so I don't know what their support try to communicate to you.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...CloudFlare not caching SiteCloudFlare not caching Site


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out