Project title:
I need the htaccess code to clear cache on client side
Posted by:
External project from PeoplePerHour
Started:
04-Aug-2020 03:27 GMT
Description:
How do you force a website to automatically clear the cache files so that when the website is updated with new pics/ css, the new version is uploaded? I know caching helps speed up the site when the user is browsing, so I'd like to keep that feature, but only for the latest updates. I was told I need to insert directions in the htaccess files. If so, what is the code? so, two parts to the code: -website loads with the latest updates ( does not use cache stored on computer) -website caches the new updates for use -BUT if there are any future updates, then the website again loads with instructions to clear the latest cache. for example, I used this: ExpiresActive Off FileETag None Header unset ETag Header unset Pragma Header unset Cache-Control Header unset Last-Modified Header set Pragma "no-cache" Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Expires "Thu, 1 Jan 1970 00:00:00 GMT" but it didn't work! website on my computer still is using cache files from previous version. So it must be a different code. I am hosting with www.50webs.com Thanks.
Project ID:
3040669
Project category:
Project budget:
Project
Started
CAD Designer for Comprehensive Machine Design -- 2
Category : 3D Modelling, CAD / CAM, Manufacturing Design, Product Design, Solidworks Budget : ₹1500 - ₹12500 INR
18-May-2024 04:04 GMT
Literary Fiction Short Story Editing
Category : Creative Writing, Editing, Fiction, Poetry, Proofreading Budget : $10 - $30 USD
18-May-2024 04:04 GMT
PC Action Game Testing -- 2
Category : Software Testing, Test Automation, Testing / QA, Usability Testing, Website Testing Budget : $10 - $30 USD
18-May-2024 04:04 GMT
Social Media Intern Required
Category : BPO, Data Entry, Excel, Facebook Marketing, Social Media Marketing Budget : ₹100 - ₹400 INR
18-May-2024 04:04 GMT
Desarrollador Odoo Experto -- 2
Category : Django, ERP, Odoo, PostgreSQL, Python Budget : $2 - $8 USD
18-May-2024 04:04 GMT
Advanced AR Headset Development
Category : Android, Game Development, IPhone, Matlab And Mathematica, Mobile App Development Budget : ₹500000 - ₹1000000 INR
18-May-2024 04:03 GMT
WooCommerce eCommerce Site with Custom Design (FLS Project)
Category : ECommerce, HTML, PHP, Web Design, WordPress Budget : $30 - $250 SGD
18-May-2024 04:01 GMT
Promotional Videography for Music Fans
Category : Audio Services, Cinematography, Editing, Lighting, Video Services Budget : $30 - $250 USD
18-May-2024 04:00 GMT
Loan Processing Optimization for DSCR
Category : Accounting, Business Analysis, Business Plans, Finance, Research Writing Budget : $2 - $8 USD
18-May-2024 03:59 GMT
3D visualization of the fair
Category : 3D Animation, 3D Modelling, 3D Rendering, 3ds Max, AutoCAD Budget : €30 - €250 EUR
18-May-2024 03:58 GMT
Wix Website Content & Functionality Upgrade
Category : BigCommerce, HTML, PHP, Web Design, Wix Budget : $250 - $750 CAD
18-May-2024 03:57 GMT
Urgent UI Design for Landing Page -- 2
Category : Graphic Design, HTML, PHP, User Interface / IA, Web Design Budget : $10 - $30 AUD
18-May-2024 03:55 GMT
Retail Market Research Specialist in Mexico
Category : Business Analysis, Internet Marketing, Market Research, Marketing, Research Budget : $30 - $250 USD
18-May-2024 03:54 GMT
Logo Design for Qur'an YouTube Channel
Category : Banner Design, Graphic Design, Illustration, Logo Design, Photoshop Budget : $30 - $250 USD
18-May-2024 03:52 GMT
TradingView Pine Script Analyst Needed -- 3
Category : Metatrader, Pine Script, Trading Budget : $10 - $30 USD
18-May-2024 03:52 GMT
Browse All Projects