Knowledgebase: Third-Party Software
Use CloudFlare Page Caching
Posted by H9 Admin on 25 March 2015 04:42 PM

When using CloudFlare, you may encounter situations which require you to make adjustments to the default settings in order to optimize your CloudFlare service. For instance...

  • If you have an image-heavy page with PHP script, the static images will not be cached by CloudFlare as PHP is considered dynamic content.

  • If a script is connecting to an external URL for images without the proper configuration, an influx of bots from CloudFlare, indexing the images, might be misinterpreted as being an attack.

Use PageRules

To solve these kinds of problems, you can use PageRules. This feature allows you to change CloudFlare behavior, including cache policy, performance and security for specific URLs. To get to PageRules:

  1. Navigate to 'https://www.cloudflare.com/page-rules?z=YOURDOMAIN.COM' (replace 'YOURDOMAIN.COM' with your actual domain) in your browser

  2. Alternatively, from your CloudFlare account, you can go to Settings then Page Rules

From here, you can access available PageRules options and apply rules that fit the needs of your website. For more information on how to use PageRules in CloudFlare check out the PageRules tutorial.

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion