Knowledgebase: 3rd Party Software
Use CloudFlare Page Caching
Posted by ASO Admin on 06 February 2020 11:15 AM

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
ERROR: This domain name (kb.asmallorange.com), does not match the domain name in the license key file help.asmallorange.com.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com