Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Diagnostic Tool to Confirm that cloudflare is working #5

Open
6 tasks
aweingarten opened this issue Sep 7, 2015 · 3 comments
Open
6 tasks

Build Diagnostic Tool to Confirm that cloudflare is working #5

aweingarten opened this issue Sep 7, 2015 · 3 comments

Comments

@aweingarten
Copy link
Contributor

Requirements

As a user installing CloudFlare in front of my site I want to be able to confirm that CloudFlare is caching both static and dynamic resources.

  • Have a field for a static path: default to something standard like robots.txt
  • Have a field for a dynamic path: default to homepage.
  • Store these settings in CMI. Follow the config settings in the existing module as an example.
  • Update CloudFlarePHPSdk with a diagnostic class to accept a path, baseurl, and curl the site,
    {{curl -SLIXGET https://adam.weingarten.me/test-post}}
    we are looking for {{CF-Cache-Status: HIT}}
    remember that you may need to curl 2x in-order to get a cache hit.
  • Expose the test in Drupal.
  • Incorporate in hook_requirements
@ccharlton
Copy link

What is needed for this?

@aweingarten
Copy link
Contributor Author

@ccharlton can you be more specific? basically the idea here is that we want to make sure that pages and assets are actually being cached.

@ccharlton
Copy link

I was asking more along the lines of what is needed in terms in contribution: Class designs/proposals? Code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants