Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/52/114451/webspace/httpdocs/support.marineapps.net/wp-content/plugins/customify/class-pixcustomify.php on line 1557

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/52/114451/webspace/httpdocs/support.marineapps.net/wp-content/plugins/customify/class-pixcustomify.php on line 1593
How Secure Is My Password? - Support Marine Applications

How Secure Is My Password?

How Secure Is My Password? (Solved)

What is the best way of implementing a cache for a PHP site? Obviously, there are some things that shouldn’t be cached (for example search queries), but I want to find a good solution that will make sure that I avoid the ‘digg effect’.

I know there is WP-Cache for WordPress, but I’m writing a custom solution that isn’t built on WP. I’m interested in either writing my own cache (if it’s simple enough), or you could point me to a nice, light framework. I don’t know much Apache though, so if it was a PHP framework then it would be a better fit.

Thanks.

2 ANSWERS

16th February 2017 at 10:08 am David Jackson

If a proxy cache is out of the question, and you’re serving complete HTML files, you’ll get the best performance by bypassing PHP altogether. Study how WP Super Cache works.

Uncached pages are copied to a cache folder with similar URL structure as your site. On later requests, mod_rewrite notes the existence of the cached file and serves it instead. other RewriteCond directives are used to make sure commenters/logged in users see live PHP requests, but the majority of visitors will be served by Apache directly.

10th May 2017 at 6:41 pm jared.chesebro

Why can’t use a wygwam editor here?

11th May 2017 at 2:48 pm frank

yes

11th May 2017 at 6:24 pm frank

test

12th May 2017 at 2:03 pm David Jackson

Testing

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How Secure Is My Password?’ is closed to new replies.