M
M
MC Dodik2019-10-01 11:51:20
css
MC Dodik, 2019-10-01 11:51:20

How to create a non-normal file extension?

All shalom! How to create such a file? /css/al/common.css?69194857651
and for css to work on the site
5d931373ce386652474885.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valeron Sergeev, 2019-10-01
@McDodik

as you were told above, read about the get parameters, this is nothing more, the file on the server is called
common.css, and ?69194857651 is just a get parameter, you can also write anything there.
For example, when I edit styles or scripts, I add a "version" to reload the changed styles and scripts, and not from the cache, but both files are on the server as style.css and script.js
/app/templates/assets/style.css
/app/templates/assets/style.css?v = 0.013
/app/templates/assets/style.css?69194857651
5d931be90fbbb533910887.png

M
Makssof, 2019-10-01
@makssof

https://habr.com/en/post/309306/

A
Anton, 2019-10-01
@Eridani

What is a GET parameter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question