Close

Themehits

Download BUSTER – Ensure users always get the latest changes to CSS/JS/img’s & more using hash based filename Nulled

 


A Simple PHP script to generate a unique hashed filename based on the actual contents of the file.

Here’s the video Tutorial and overview

Why?

Using a hash-based name system we can be certain when we need to break cache for a user.

Instead of just forcing a cache break every x hours or days.

This ensures if the content ever changes the user definitely gets the latest version!

With this method, we can set basically unlimited cache lengths and rest assured the user gets the latest changes.

Examples:

Hard Example (creating a new file) with a custom third parameter so it goes into a sub-folder of input:

Input:

<link rel="stylesheet" href="<?php cssHashFileName('css/example-stylesheet.css', 'hard', 'cache'); ?>">

Output as seen by users/browser:

<link rel="stylesheet" href="css/cache/example-stylesheet-8n288lb76mk.css">

Soft Example (appending cache busting get string)

Input:

<link rel="stylesheet" href="<?php cssHashFileName('css/example-stylesheet.css', 'soft'); ?>">

Output as seen by users/browser:

<link rel="stylesheet" href="css/example-stylesheet.css?v=8n288lb76mk">

[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]

Demo = BUSTER – Ensure users always get the latest changes to CSS/JS/img’s & more using hash based filename
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/buster-easily-break-css-cache-with-hashed-filenames/20615887″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]

Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy BUSTER – Ensure users always get the latest changes to CSS/JS/img’s & more using hash based filename from the The Developer ( mrwigster ) website. Thank you.
Download = BUSTER – Ensure users always get the latest changes to CSS/JS/img’s & more using hash based filename-[Updated].zip



Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.