
Jinx Fast-Cache provides a very simple but efficient way of full page caching to WordPress.
It will generate static HTML files which will be called using your servers rewrite rules.
This feature will bypass the whole PHP process and render only a simple HTML file without the whole overhead.
After activating the plugin, it will modify your .htaccess file. If this is not possible, make sure to enter the rules by yourself:
# BEGIN Jinx Fast-Cache RewriteEngine On RewriteBase / RewriteCond %{DOCUMENT_ROOT}/wp-content/jinx-fast-cache/%{HTTP_HOST}/%{REQUEST_URI}/%{QUERY_STRING}/index.html -s RewriteCond %{REQUEST_METHOD} GET RewriteRule .* /wp-content/jinx-fast-cache/%{HTTP_HOST}/%{REQUEST_URI}/%{QUERY_STRING}/index.html [L] # END Jinx Fast-Cache When using nginx, make sure to add the following rules:
set $cache_path false; if ($request_method = GET) { set $cache_path /wp-content/jinx-fast-cache/$host/$uri/$args/index.html; } location / { try_files $cache_path $uri $uri/ /index.php?$query_string; } You may flush, warm or refresh (flush & warm) single or multiple URLs using the buttons in the admin bar.
By default all posts will be automatically warmed after they have been saved and flushed after they have been deleted or put on draft.
The warm process will create a queue, which will be handled in a scheduled task (cron). When warming up a single post, it will skip the queue.
The plugin will automatically flush and warm the cache after an update has been completed.
Jinx Fast-Cache is made for developers. So far no admin panel is available, but you may modify a lot of it’s behaviors using filters.
Jinx Fast-Cache also provides the feature to inject dynamic content into your pages. If you eg. want to print the users name on the page, you may inject it via ajax.
You may also use a placeholder to let your users know, that the content will be loading eg. “loading …”.
Inject a template:
do_action('jinx_fast_cache_inject_template', 'user'); do_action('jinx_fast_cache_inject_template', 'user', 'loading ...'); This has the same effect as:
do_action('jinx_fast_cache_inject', 'get_template_part', ['user']); do_action('jinx_fast_cache_inject', 'get_template_part', ['user'], 'loading ...'); You may call every public function of PHP, your theme or any plugin:
do_action('jinx_fast_cache_inject', 'date', ['Y']); do_action('jinx_fast_cache_inject', 'my_function', ['param1', 'param2']); do_action('jinx_fast_cache_inject', 'namespace\MyClass::myMethod', ['param1', 'param2']); do_action('jinx_fast_cache_inject', ['namespace\MyClass', 'myMethod'], ['param1', 'param2']); The first parameter is the function call, the second parameter is an array or arguments passed to this function and the third parameter is the placeholder.
Inside the editor, you may also use shortcodes to inject content.
[jinx_fast_cache_inject]My dynamic content or other shortcodes can be used here[/jinx_fast_cache_inject] [jinx_fast_cache_inject placeholder="loading..."]My dynamic content or other shortcodes can be used here[/jinx_fast_cache_inject]
Every shortcode or block between “jinx_fast_cache_inject” will be parsed and injected via ajax. Note that this may cause problems when working with JS events.
You may trigger custom JS after dynamic content has been injected.
Using jQuery:
$('.element').on('jinx-fast-cache-inject', function(e) { // so smth. with e.target or this }); Using VanillaJS:
element.addEventListener('jinx-fast-cache-inject' (e) => { // so smth. with e.target }, false);<h3>Tags</h3> Even there are some filters to build a relation between URLs, tags are an easier way to do this.
You may connect multiple URLs with tags, so if one URL gets flushed, it will also flush URLs with the same tag.
Tags can be used inside the editor by using the shortcode:
[jinx_fast_cache tags="foo,bar"]
Or you can use it inside your templates by calling the action:
do_action('jinx_fast_cache', ['tags' => 'foo,bar']); do_action('jinx_fast_cache', ['tags' => ['foo', 'bar']]); A usecase for tags might be to connect single posts with your page for posts. So if a single post will be flushed, the page for posts and all other posts will also be flushed.
You may also add multiple tags by calling the shortcode or action multiple times. This will work very well when using blocks or other shortcodes.
As you have seen already, you may set a cache duration globally by using the filter ‘jinx_fast_cache_duration’.
However, if there is a specific URL eg. the front page, you may want to change the duration.
You may use a shortcode like this:
[jinx_fast_cache duration="3600"] [jinx_fast_cache duration="12 hours"]
Or you can use it inside your templates by calling the action:
do_action('jinx_fast_cache', ['duration' => 3600]);<h3>Hits</h3> Be aware that you can set tags and the cache duration in just one call.
[jinx_fast_cache duration="3600" tags="foo,bar"]
Or you can use it inside your templates by calling the action:
do_action('jinx_fast_cache', ['duration' => 3600, 'tags' => 'foo,bar']); do_action('jinx_fast_cache', ['duration' => 3600, 'tags' => ['foo', 'bar']]); Note that tags will accept a string or an array.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Lukas Rydygel
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.
Create an online restaurant menu that organizes dishes, highlights key items, and helps visitors explore options with confidence.
Use a reviews badge to highlight your ratings, build trust at a glance, improve credibility, and help increase conversions across your site.
Use feature voting so users submit ideas, vote on requests, and help you prioritize product updates by real customer demand.
Add opening hours to your site to give visitors clear, reliable business information that improves trust, reduces confusion, and supports user experience.
Add a customizable leaderboard to your site to display rankings, track scores, and encourage friendly competition.
Nudge button with a subtle shaking animation that draws attention to important calls to action, increases interaction, and helps boost conversions.
Create business listings with a listings widget that presents companies clearly, supports easy organization, and helps visitors find the right services quickly.
Use a timeline widget to display events and milestones in chronological order with images and text so visitors understand your story clearly.
Use a pricing slider to show dynamic prices by quantity, help visitors compare options, and support confident purchases.
Add a no-code audio player to your site and boost engagement with music, podcasts, and voice content effortlessly.
Show Glassdoor reviews to highlight employee feedback, strengthen employer brand, and help candidates trust your company.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
