Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

188
Views
XAMPP updates only one .js file of two upon Ctrl + F5

I have a page in development which links to two .js scripts. When I tested it in XAMPP, it was not loading changes to either .js script. Using Ctrl + F5 to reload the page causes it to notice my changes to the second script, but not my changes to the first. What can I do to make it refresh both?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The extreme way is to add an .htaccess in your webroot folder.

In there you should add following lines:

# BEGIN Expire headers
<ifModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/javascript "access plus 1 seconds"
  ExpiresByType application/javascript "access plus 1 seconds"
  ExpiresByType application/x-javascript "access plus 1 seconds"
</ifModule>
# END Expire headers

But with this approach you will always load the javascrip file. For production use not recommended.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!